several versions of gcc
mymuss at gmail.com
Sat Nov 19 05:30:35 GMT 2005
On 11/18/05, Dinesh Nair <dinesh at alphaque.com> wrote:
> On 11/18/05 09:09 Andrew Novikov said the following:
> > Hello,
> > Is there a way to have both gcc34 and gcc40 (and possibly other
> > simultaneously?
> back on freebsd 4.11, i had the system installed gcc 2.95 and the ports
> installed gcc 3.4.x running simultaneously. gcc 3.4 was invoked as gcc34.
Indeed I can run gcc from system (2.95.4 in my case), which is installed to
/usr/ and any of gcc from ports which installs itself into /usr/local/ (for
However I cannot have at the same time lang/gcc34 and lang/gcc40 (or any
other two version from ports) because they both install files in the same
place somewhere in /usr/local/. Is there a way to specify a different dir,
say /usr/local/gcc34, /usr/local/gcc40 etc?
I only see one solution now: get original gcc tarbal and configure it with
different prefix, however I am looking for a 'right way' with ports.
PS: running 4.11-STABLE
> Regards, /\_/\ "All dogs go to heaven."
> dinesh at alphaque.com (0 0) http://www.alphaque.com/
> | for a in past present future; do |
> | for b in clients employers associates relatives neighbours pets; do |
> | echo "The opinions here in no way reflect the opinions of my $a $b." |
> | done; done |
More information about the freebsd-questions