On Friday 01 December 2006 23:39, Randy Barlow wrote: [SNIP] > 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.
Do you use ccache, distcc or any other wrappers? If you do you may have to
disable it until this is all resolved and the wrappers have been remerged.
> 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?
What is the output of:
# ls -L /usr/bin/as
That link is created by binutils-config. If it's broken switching the right
binutils profile once again may fix it (even if it was already chosen):
# binutils-config -l
[1] i686-pc-linux-gnu-2.16.1
[2] i686-pc-linux-gnu-2.17 *
# binutils-config 2
* Switching to i686-pc-linux-gnu-2.17 ...
[SNIP]
# env-update
# source /etc/profile
HtH
--
Bo Andresen
pgpWVW4HdGZ7u.pgp
Description: PGP signature

