Gentoo Archives: gentoo-user

From: ABCD <en.ABCD@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Upgrading GCC (just to be sure)...
Date: Tue, 31 Mar 2009 12:32:38
Message-Id: gqt2fm$c2e$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Upgrading GCC (just to be sure)... by "Maximilian Bräutigam"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Maximilian Bräutigam wrote:
5 > Hi all,
6 >
7 > it was said before:
8 >> You don't need to follow this guide. Just emerge and you'll be fine.
9 >
10 > I would expect, that this is not the whole purpose. For example if I use
11 > "eix gcc", I get two installed versions: 4.1.2 and 4.3.2-r3
12 >
13 > "gcc -v" returns "gcc-Version 4.1.2 (Gentoo 4.1.2 p1.1)"
14 > "gcc-config -c" returns "x86_64-pc-linux-gnu-4.1.2"
15 >
16 > So, obviously I am not using the new GCC compiler and being honest, I
17 > made half a year ago the mistake to deinstall gcc without upgrading. I
18 > configured a hole new system, because nothing worked anymore.
19 > Due to the mentioned problems my question is, do I have to configure
20 > # gcc-config x86_64-pc-linux-gnu-4.3.2
21 > ... or ...
22 > # gcc-config x86_64-pc-linux-gnu-4.3.2-r3
23 >
24 > kind regards,
25 > der Max
26
27 IIRC, by default it will start using the new compiler, but the command
28 is `gcc-config x86_64-pc-linux-gnu-4.3.2` (or even just `gcc-config
29 4.3.2`); for a list of compiler versions you currently have installed
30 and can use with gcc-config, see the output of `gcc-config -l`.
31
32 - --
33 ABCD
34 -----BEGIN PGP SIGNATURE-----
35 Version: GnuPG v2.0.11 (GNU/Linux)
36 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
37
38 iEYEARECAAYFAknSDSgACgkQOypDUo0oQOqklACgprThXNNyLJRc5NH1nEoDQUQm
39 0tIAoNh1Dc7PaCzsD3panAfqwy0d3GGx
40 =1WDl
41 -----END PGP SIGNATURE-----