C compiler cannot create executables

liuke liuke at mail.cnwa.com
Thu Mar 4 11:58:38 PST 2004


dienadel wrote:

> 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.
>
thanks,but my CFLAGS=CXXFLAGS="-O3 march=i686" is already unset,how can 
i do?




More information about the lfs-support mailing list