I'm going through the book on my SLES 10 SP2 (32-bit) w/ GCC 4.1.2 on host.
Now failed to complete GCC build pass 2 w/ following message:

*Checking multilib configuration for libstdc++-v3...
mkdir -p -- i686-pc-linux-gnu/libstdc++-v3
Configuring in i686-pc-linux-gnu/libstdc++-v3
configure: creating cache ./config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... /mnt/lfs/sources/gcc-build/./gcc/xgcc
-B/mnt/lfs/sources/gcc-bui ld/./gcc/ -B/tools/i686-pc-linux-gnu/bin/
-B/tools/i686-pc-linux-gnu/lib/ -isystem /tools/i686-pc-linu x-gnu/include
-isystem /tools/i686-pc-linux-gnu/sys-include
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in
`/mnt/lfs/sources/gcc-build/i686-pc-linu x-gnu/libstdc++-v3':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2*

Anyone can help? Thanks!!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to