C compiler cannot create executables

dienadel no at use.this.es
Thu Mar 4 04:48:31 PST 2004


Hi,

trying to compile coreutils in LFS 5.0 i have the folowing error in the 
condigure script:

.................
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /tools/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl5.003 or newer... yes
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler 
cannot create executables
...................

This only happens if CFLAGS=CXXFLAGS="-O3 march=i686". If these are 
unset, the configure goes ok

What is wrong???

thanks. dienadel.




More information about the lfs-support mailing list