Re: LFS-6.7 Chapter 5.10 GCC make failure

2010-12-25 Thread Mike Hollis
On Sat, Dec 25, 2010 at 11:27:10PM +0800, Aaron Tsai wrote: > I tried belowing and got what's expected > > echo 'main(){}' > dummy.c > $LFS_TGT-gcc -B/tools/lib dummy.c > readelf -l a.out | grep ': /tools' > > > [Requesting program interpreter: /tools/lib/ld-linux.so.2] > > But digging into t

Re: LFS-6.7 Chapter 5.10 GCC make failure

2010-12-25 Thread xinglp
FATAL: kernel too old -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

LFS-6.7 Chapter 5.10 GCC make failure

2010-12-25 Thread Aaron Tsai
I tried belowing and got what's expected echo 'main(){}' > dummy.c $LFS_TGT-gcc -B/tools/lib dummy.c readelf -l a.out | grep ': /tools' > [Requesting program interpreter: /tools/lib/ld-linux.so.2] But digging into the config.log file, there was: -- ---

Re: LFS-6.7 Chapter 5.10 GCC make failure

2010-12-21 Thread William Immendorf
On Tue, Dec 21, 2010 at 8:31 AM, aaron cai wrote: > 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' fo

Re: LFS-6.7 Chapter 5.10 GCC make failure

2010-12-21 Thread Ken Moffat
On Tue, Dec 21, 2010 at 02:57:16PM +, Andrew Benton wrote: > On Tue, 21 Dec 2010 22:31:53 +0800 > aaron cai 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-g

Re: LFS-6.7 Chapter 5.10 GCC make failure

2010-12-21 Thread Andrew Benton
On Tue, 21 Dec 2010 22:31:53 +0800 aaron cai 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

LFS-6.7 Chapter 5.10 GCC make failure

2010-12-21 Thread aaron cai
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: creatin