Hi. I started compiling LFS 6.8 and i got stuck while compiling the gcc-4.5.2 in pass 1 itself. The error reads as:
checking for x86_64-unknown-linux-gnu-gcc... /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-unknown-linux-gnu/bin/ -B/tools/x86_64-unknown-linux-gnu/lib/ -isystem /tools/x86_64-unknown-linux-gnu/include -isystem /tools/x86_64-unknown-linux-gnu/sys-include checking for suffix of object files... configure: error: in `/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[2]: *** [configure-stage1-target-libgcc] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/gcc-build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/gcc-build' make: *** [all] Error 2 I got this error when i executed the "make" command. my PWD was /mnt/lfs/sources/gcc-build and i was logged in as lfs user i had extracted gcc-4.5.2 in the sources directory and then extracted mpc, mpfr and gmp inside the gcc-4.5.2 extracted directory. Then i created another directory in /mnt/lfs/sources named "gcc-build" and then i execcuted the configuraion commands for gcc.. Please tell me if im going wrong.
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page