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
------------------------------------------------------------------------------------------------
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page