On Tue, Dec 21, 2010 at 02:57:16PM +0000, Andrew Benton wrote: > On Tue, 21 Dec 2010 22:31:53 +0800 > aaron cai <osr...@gmail.com> wrote: > > > 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!! > > Are there any clues in /mnt/lfs/sources/gcc-build/config.log? > > Andy > -- My memory might be out of date, or faulty, but I think that both gcc and binutils create config.log in each subdirectory where they run configure. If I'm right, please also check gcc-build/i686-pc-linux-gnu/libstdc++-v3/config.log
ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page