Date: Sat, 19 Nov 2005 07:30:33 +0200 From: Andrew Novikov <mymuss@gmail.com> To: Dinesh Nair <dinesh@alphaque.com> Cc: questions@freebsd.org Subject: Re: several versions of gcc Message-ID: <c1e1c6a50511182130g665839bat573d425052dce7da@mail.gmail.com> In-Reply-To: <437D58C8.1050402@alphaque.com> References: <c1e1c6a50511171709ja125ccdr1d8b72976f9232ec@mail.gmail.com> <437D58C8.1050402@alphaque.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/18/05, Dinesh Nair <dinesh@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 > versions) > > 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 example, 4.0) 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@alphaque.com (0 0) http://www.alphaque.com/ > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D----oOO--(_)--OOo----=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ > | 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 | > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ > -- Sincerely, Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c1e1c6a50511182130g665839bat573d425052dce7da>