Quote:
Originally Posted by guodah
Should it be:
Code:
echo 'main(){}' > dummy.c
$LFS_TGT-gcc -B/tools/lib dummy.c
readelf -l a.out | grep ': /tools'
as in Section 5.8?
|
No. As in section
5.10 gcc pass2. The big red box at the bottom. This is the compiler you want to use to build your toolchain. The pass1 tools are only used to build glibc. Read this section again:
http://www.linuxfromscratch.org/lfs/...ter01/how.html
Especially
Quote:
The remaining Chapter 5 packages are built using this second pass toolchain.
|
If perl is indeed the only thing that went wrong then there should be no need to adjust your toolchain.