Gentoo Archives: gentoo-user

From: Dale <teendale@×××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] recoverning from deleted gcc
Date: Sat, 29 Jul 2006 01:54:40
Message-Id: 44CABE65.3090906@vista-express.com
In Reply to: Re: [gentoo-user] recoverning from deleted gcc by Ryan Tandy
1 Ryan Tandy wrote:
2 > James wrote:
3 >> gcc-config error: Could not run/locate "gcc"
4 >> *** The command 'gcc -o conftest conftest.c' failed.
5 >> *** You must set the environment variable CC to a working compiler.
6 >
7 > Run 'gcc-config -l' (letter L, not number 1), and then run gcc-config
8 > again with the number of the first 3.4 compiler in the list (e.g.
9 > 'gcc-config 1'). Then try your emerge again. If emerge is still
10 > working even with 3.3 gone, however, there's a decent chance you don't
11 > need 3.3...
12
13 I think you are right. I have this on mine:
14
15 > root@smoker / # equery list gcc
16 > [ Searching for package 'gcc' in all categories among: ]
17 > * installed packages
18 > [I--] [ ] sys-devel/gcc-3.3.5.20050130-r1 (3.3)
19 > [I--] [ -] sys-devel/gcc-3.4.6-r1 (3.4)
20 > [I--] [ ] sys-devel/gcc-config-1.3.13-r3 (0)
21 > [I--] [ ] x11-misc/gccmakedep-1.0.2 (0)
22 > root@smoker / # gcc-config -l
23 > [1] i686-pc-linux-gnu-3.3.5-20050130
24 > [2] i686-pc-linux-gnu-3.3.5-20050130-hardened
25 > [3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
26 > [4] i686-pc-linux-gnu-3.3.5-20050130-hardenednopiessp
27 > [5] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp
28 > [6] i686-pc-linux-gnu-3.4.6 *
29 > [7] i686-pc-linux-gnu-3.4.6-hardened
30 > [8] i686-pc-linux-gnu-3.4.6-hardenednopie
31 > [9] i686-pc-linux-gnu-3.4.6-hardenednopiessp
32 > [10] i686-pc-linux-gnu-3.4.6-hardenednossp
33 > root@smoker / #
34
35 As you can see, I am using 3.4.6 and 3.3.5 is just still hanging
36 around. I guess I need to get rid of that. ;-)
37
38 Dale
39
40 :-) :-)
41
42 --
43 gentoo-user@g.o mailing list