Ryan Tandy <tarpman <at> gmail.com> writes:

> 
> James wrote:
> > gcc-config error: Could not run/locate "gcc"
> > *** The command 'gcc -o conftest    conftest.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...

gcc-config -l
gcc-config 3.4.6
env-update && source /etc/profile && etc-update && update-eix && eupdatedb

eix gcc
* sys-devel/gcc
Installed:           3.4.6-r1


Worked like a charm. gcc 3.3.6 is gone and gcc-3.4.6-r1 is
working like a charm.

Thanks for the tip!

James



-- 
gentoo-user@gentoo.org mailing list

Reply via email to