Re: [gentoo-user] recoverning from deleted gcc

2006-07-28 Thread Dale
Ryan Tandy wrote:
> James wrote:
>> gcc-config error: Could not run/locate "gcc"
>> *** The command 'gcc -o conftestconftest.c' failed.
>> *** You must set the environment variable CC to a working compiler.
>
> Run 'gcc-config -l' (letter L, not number 1), and then run gcc-config
> again with the number of the first 3.4 compiler in the list (e.g.
> 'gcc-config 1').  Then try your emerge again.  If emerge is still
> working even with 3.3 gone, however, there's a decent chance you don't
> need 3.3...

I think you are right.  I have this on mine:

> [EMAIL PROTECTED] / # equery list gcc
> [ Searching for package 'gcc' in all categories among: ]
>  * installed packages
> [I--] [  ] sys-devel/gcc-3.3.5.20050130-r1 (3.3)
> [I--] [ -] sys-devel/gcc-3.4.6-r1 (3.4)
> [I--] [  ] sys-devel/gcc-config-1.3.13-r3 (0)
> [I--] [  ] x11-misc/gccmakedep-1.0.2 (0)
> [EMAIL PROTECTED] / # gcc-config -l
>  [1] i686-pc-linux-gnu-3.3.5-20050130
>  [2] i686-pc-linux-gnu-3.3.5-20050130-hardened
>  [3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
>  [4] i686-pc-linux-gnu-3.3.5-20050130-hardenednopiessp
>  [5] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp
>  [6] i686-pc-linux-gnu-3.4.6 *
>  [7] i686-pc-linux-gnu-3.4.6-hardened
>  [8] i686-pc-linux-gnu-3.4.6-hardenednopie
>  [9] i686-pc-linux-gnu-3.4.6-hardenednopiessp
>  [10] i686-pc-linux-gnu-3.4.6-hardenednossp
> [EMAIL PROTECTED] / #

As you can see, I am using 3.4.6 and 3.3.5 is just still hanging
around.  I guess I need to get rid of that.  ;-)

Dale

:-)  :-)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recoverning from deleted gcc

2006-07-28 Thread Ryan Tandy

James wrote:

gcc-config error: Could not run/locate "gcc"
*** The command 'gcc -o conftestconftest.c' failed.
*** You must set the environment variable CC to a working compiler.


Run 'gcc-config -l' (letter L, not number 1), and then run gcc-config 
again with the number of the first 3.4 compiler in the list (e.g. 
'gcc-config 1').  Then try your emerge again.  If emerge is still 
working even with 3.3 gone, however, there's a decent chance you don't 
need 3.3...

--
gentoo-user@gentoo.org mailing list