Gentoo Archives: gentoo-user

From: Roger Mason <rmason@×××.ca>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: coexisting GCC versions
Date: Sun, 28 Jun 2009 21:26:39
Message-Id: y65zlbsxdsx.fsf@minnie.esd.mun.ca
In Reply to: [gentoo-user] Re: coexisting GCC versions by Nikos Chantziaras
1 Hi,
2
3 Nikos Chantziaras <realnc@×××××.de> writes:
4
5 > On 06/28/2009 08:54 PM, Roger Mason wrote:
6 >>[...]
7 >> I followed the info presented at the end of the installation
8 >
9 > Did you read the Gentoo documentation about upgrading GCC? If not,
10 > now's the time :)
11
12 This is what it says:
13
14 # emerge -uav gcc
15 (Please substitute "i686-pc-linux-gnu-3.4.5" with the GCC
16 version and CHOST settings you've upgraded to:)
17 # gcc-config i686-pc-linux-gnu-4.3.2
18 # source /etc/profile
19
20 and that is what I did.
21
22 Now gcc-config says:
23
24 garnet ~ $ gcc-config -l
25 [1] i686-pc-linux-gnu-4.1.1
26 [2] i686-pc-linux-gnu-4.3.2 *
27
28 Whereas gcc -v says:
29
30 <snip>
31 gcc version 4.1.1 (Gentoo 4.1.1-r3 p1.10)
32
33 If there is something else that I need to do then I did not see it in
34 the upgrade guide, so please, will someone enlighten me?
35
36 Thanks,
37 Roger

Replies

Subject Author
Re: [gentoo-user] Re: coexisting GCC versions Alex Schuster <wonko@×××××××××.org>