On Tue, Dec 06, 2005 at 08:49:29PM +0100, Holly Bostick wrote:
> Jarry schreef:
> 
> >> What does 'gcc-config -l' say?
> > 
> > 
> > obelix ~ # gcc-config -l /usr/bin/gcc-config: line 632: 
> > /etc/env.d/gcc/i686-pc-linux-gnu-3.3.6: No such file or directory * 
> > /usr/bin/gcc-config: Profile does not exist or invalid setting for 
> > /etc/env.d/gcc/i686-pc-linux-gnu-3.3.6 [1] i686-pc-linux-gnu-3.4.4 
> > [2] i686-pc-linux-gnu-3.4.4-hardened [3] 
> > i686-pc-linux-gnu-3.4.4-hardenednopie [4] 
> > i686-pc-linux-gnu-3.4.4-hardenednopiessp [5] 
> > i686-pc-linux-gnu-3.4.4-hardenednossp obelix ~ #
> > 
> > Jarry
> > 
> 
> I think what happened to you is that you didn't set a new gcc to be
> used, then removed the one that was being used (3.3.6).
> 

hum... I have both gcc-3.3.5 and 3.4.4 installed. Perhaps my memory
deceives me, but isn't gcc slotted? I don't think emerge should have
removed the 3.3.6 install when you updated to 3.4.4

In fact, it seems that toolchains.eclass provided for both cases: if
the old one was removed, it was supposed to have run gcc-config for
you, if not, it was supposed to keep it the same and tell you how to
change gcc-config (well, a gross simplification, but you get the
idea). 

>  gcc-config i686-pc-linux-gnu-3.4.4
> 

or, if i remember correctly, 'gcc-config 1' would suffice, and easier
to type. 

> then perhaps run a
> fix_libtool_files.sh 3.3.6
> 
> to update the hardcoded paths, then try your emerge again.

don't forget to 

   source /etc/profile

before starting the next emerge. 

W
-- 
They were married and lived happily even after.
        ~Richard Lederer
Sortir en Pantoufles: up 24 days, 16:38
-- 
gentoo-user@gentoo.org mailing list

Reply via email to