Gentoo Archives: gentoo-user

From: Roger Mason <rmason@×××.ca>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: coexisting GCC versions [solved]
Date: Tue, 30 Jun 2009 09:09:56
Message-Id: y653a9i2jif.fsf_-_@minnie.esd.mun.ca
In Reply to: Re: [gentoo-user] Re: coexisting GCC versions by Alex Schuster
1 Hi Alex,
2
3 Alex Schuster <wonko@×××××××××.org> writes:
4
5 > Looks good to me. Finally, what is the PATH in /etc/profile.env? According
6 > to the order of your gcc paths, I guess it has /usr/i686-pc-linux-gnu/gcc-
7 > bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 in it, while only the second
8 > one should be there. Does "grep /usr/i686-pc-linux-gnu/gcc-bin/4.1.1
9 > /ect/env.d/*" find something? Some obscure other file that env-update uses?
10 >
11 > If not, I have no more ideas. I'd change /etc/profile.env by hand then, and
12 > file a bug report.
13
14 garnet ~ $ grep /usr/i686-pc-linux-gnu/gcc-bin/4.1.1 /etc/env.d/*
15 /etc/env.d/05gcc-i386-pc-linux-gnu:PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"
16 /etc/env.d/05gcc-i386-pc-linux-gnu:ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"
17
18 Moving /etc/env.d/05gcc-i386-pc-linux-gnu out of the way & running
19 env-update and source /etc/profile seems to have fixed things and I can
20 now switch freely between compiler versions.
21
22 Many thanks to you and to all who responded with suggestions.
23
24 Cheers,
25 Roger