Problem with gcc

Erik Hurtado Sepulveda ehurtado at zaptv.cl
Sun Nov 28 10:57:44 PST 2004


Ok, but, i actually use knoppix 3.6 in hard disc, but anywhere, im going 
to download the packages for the testing version.

thanks.


Atte:
Erik Hurtado Sepulveda
Técnico Head-End Zap Tv.
0-86481898 4909330
Linux user #346859
Since 1999

Jeremy Utley wrote:
> Erik Hurtado Sepulveda wrote:
> 
>> 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.
>>
> Please search the archives before posting in the future, as this 
> question is asked on a regular basis.  The problem is you're using 
> Fedora Core 2 or later to build LFS 5.1.1, and that won't work.  Either 
> use a slightly older distro, or build the "Testing" version of LFS, 
> which is exactly what will be come LFS 6 in the future.
> 
> -J-
-------------- 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/11541272/attachment.bin>


More information about the lfs-support mailing list