Problem with gcc

Erik Hurtado Sepulveda ehurtado at zaptv.cl
Sun Nov 28 10:35:01 PST 2004


Hello everywhere, for first time i trying to construct an LFS, i use the 
book version 5.1.1 and when i try to compile GCC-3.3.3 - Pass 1 the 
scrip configure crashes at:

lfs at head-end-1:/mnt/lfs/sources/gcc-build$ ../gcc-3.3.3/configure
--prefix=/tools --with-local-prefix=/tools --disable-nls
--enable-shared --enable-languages=c
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /mnt/lfs/sources/gcc-build using "mt-frag"
/tools/bin/ld: unrecognized option '--as-needed'
/tools/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
*** The command '/usr/bin/gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

i try to detect the problem but i not see any stange

regards

PD. sorry for my poor english.

-- 
Atte:
Erik Hurtado Sepulveda
Técnico Head-End Zap Tv.
0-86481898 4909330
Linux user #346859
Since 1999
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5666 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20041128/733c6adc/attachment.bin>


More information about the lfs-support mailing list