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 the config.log file, there was:
>
> ------------------------------
> ------------------------------------------------------------------
> configure:4335: checking for C compiler default output file name
> configure:4357: i686-lfs-linux-gnu-gcc -B/tools/lib/ conftest.c >&5
> configure:4361: $? = 0
> configure:4398: result: a.out
> configure:4414: checking whether the C compiler works
> configure:4423: ./a.out
> FATAL: kernel too old
Merry Christmas if you observe it .
Did you meet the Host System Requirements in the preface ?
"Linux Kernel-2.6.22.5 (having been compiled with GCC-4.1.2 or
greater)"
--- Mike H.----
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page