Randy Barlow wrote:
> So I am trying to bring my CHOST from i386-pc-linux-gnu to
> i686-pc-linux-gnu by following the guide at
> http://www.gentoo.org/doc/en/change-chost.xml.  Well so far things
> aren't working out so well.  The first step is to change the CHOST
> variable.  I also went ahead and added nptl and nptlonly to my USE flags
> while I was editing /etc/make.conf.  Then I ran the command
> 
> # emerge -av1 binutils gcc glibc
> 
> binutils seemed to have merged correctly, but the configure script for
> gcc seems to be having issues.  The last few lines of output show:
> 
> checking whether the C compiler (gcc -mtune=i686 -pipe -march=pentium3
> -O2 ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
> 
> I tried to manually call a g++ command on some code I have, and got the
> following error:
> 
> g++: installation problem, cannot exec `as': No such file or directory
> 
> So my compiler is broke.  Any pointers on how to fix this?

One thing I just thought of is that I could add the executables
installed by binutils to my $PATH so that it can find them to build the
new compiler - perhaps that will work?

-- 
Randy Barlow
http://www.electronsweatshop.com
-- 
gentoo-user@gentoo.org mailing list

Reply via email to