Made it all the way to chapter 6, using 6.4 documentation and the 6.3 LIVE CD. However, every time I go I try to compile the Linux Headers I get an error:
bash: /tools/bin/gcc: No such file or directory
I think I've trackd it down to a problem in my toolchain. Running readelf -l /tools/bin/gcc shows that my program interpreter is /lib/ld-linux.so.2 instead of /tools/lib/ld-linux.so.2
What I don't understand, is why! Before I chroot, back in chapter 5, my program interpreter showed up correctly:
http://www.linuxfromscratch.org/lfs/...adjusting.html
Anyone know where I'm messing up the toolchain? How can I fix it now?