1 |
On 12/13/2010 04:57 AM, dhk wrote: |
2 |
> On 12/13/2010 07:50 AM, Xavier Parizet wrote: |
3 |
>> On Mon, 13 Dec 2010 07:34:16 -0500, dhk <dhkuhl@×××××××××.net> wrote: |
4 |
>> You need to run: |
5 |
>> gcc-config x86_64-pc-linux-gnu-4.4.4 && source /etc/profile && gcc -v |
6 |
>> |
7 |
>> If the above commande output gcc version 4.4.4, then you're done, just |
8 |
>> re-run emerge. |
9 |
>> |
10 |
>>> Portage 2.1.9.24 (default/linux/amd64/10.0, [unavailable], |
11 |
>>> glibc-2.11.2-r3, 2.6.34-gentoo-r6 x86_64) |
12 |
>> [SNIP] |
13 |
> |
14 |
> That was easy. It works. Thanks. |
15 |
|
16 |
In fact, "gcc-config -l" is a good way to see which versions of gcc are |
17 |
installed. Then you can just set it with that command as above, or |
18 |
"gcc-config 2", for instance, if you wanted to use the second gcc entry. |
19 |
You have to reset your environment to use it immediately, but that's |
20 |
easy enough: env-update; exec bash -l. |