Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: recoverning from deleted gcc
Date: Sat, 29 Jul 2006 03:05:30
Message-Id: loom.20060729T044008-956@post.gmane.org
In Reply to: Re: [gentoo-user] recoverning from deleted gcc by Ryan Tandy
1 Ryan Tandy <tarpman <at> gmail.com> writes:
2
3 >
4 > James wrote:
5 > > gcc-config error: Could not run/locate "gcc"
6 > > *** The command 'gcc -o conftest conftest.c' failed.
7 > > *** You must set the environment variable CC to a working compiler.
8 >
9 > Run 'gcc-config -l' (letter L, not number 1), and then run gcc-config
10 > again with the number of the first 3.4 compiler in the list (e.g.
11 > 'gcc-config 1'). Then try your emerge again. If emerge is still
12 > working even with 3.3 gone, however, there's a decent chance you don't
13 > need 3.3...
14
15 gcc-config -l
16 gcc-config 3.4.6
17 env-update && source /etc/profile && etc-update && update-eix && eupdatedb
18
19 eix gcc
20 * sys-devel/gcc
21 Installed: 3.4.6-r1
22
23
24 Worked like a charm. gcc 3.3.6 is gone and gcc-3.4.6-r1 is
25 working like a charm.
26
27 Thanks for the tip!
28
29 James
30
31
32
33 --
34 gentoo-user@g.o mailing list