Error during gcc build

Иван Мушкетик proger.home at gmail.com
Sun Feb 20 03:20:49 PST 2011


Hello. I am newbie to LFS and I reached the step of building gcc.
During compilation (make command) I receive the following error:

checking for i686-pc-linux-gnu-gcc...
/home/proger/LFS/filesystem/sources/gcc-build/./gcc/xgcc
-B/home/proger/LFS/filesystem/sources/gcc-build/./gcc/
-B/home/proger/LFS/filesystem/tools/i686-pc-linux-gnu/bin/
-B/home/proger/LFS/filesystem/tools/i686-pc-linux-gnu/lib/ -isystem
/home/proger/LFS/filesystem/tools/i686-pc-linux-gnu/include -isystem
/home/proger/LFS/filesystem/tools/i686-pc-linux-gnu/sys-include
checking for C compiler default output file name...
configure: error: in
`/home/proger/LFS/filesystem/sources/gcc-build/i686-pc-linux-gnu/libmudflap':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libmudflap] Error 1
make[1]: Leaving directory `/home/proger/LFS/filesystem/sources/gcc-build'
make: *** [all] Error 2

I did my configure with the following command:
../gcc-4.5.1/configure --target=i686-pc-linux-gnu  --prefix=$LFS/tools
--disable-nls --disable-shared --disable-multilib
--disable-decimal-float --disable-threads --disable-libmudglap
--disable-libssp --disable-libgomp --enable-languages=c
--with-gmp-include=../gcc-4.5.1/gmp/
--with-gmp-lib=../gcc-4.5.1/gmp/.lib --without-ppl --without-cloog

I did everything from $LFS/sources/gcc-build directory.

What can I do with this error?
Thank you in advance.



More information about the lfs-support mailing list