Le 23/03/2012 12:09, Thierry Nuttens a écrit : > Anyway install_root=/tools should have been install_root=$LFS in fact. Actually, this is the correct way to cross-compile a package: Use a cross-compiler (binutils-pass1+gcc-pass1) and install the package to a place where it can be transferred to the new machine (the one for which we cross-compile).
But in LFS, once glibc is build, we transform the cross-compile into a native build, by using the /tools symlink trick. Of course, if any package tries to directly write to system dirs (such as seems to be the case for /var/db in glibc-2.15) instead of acknowledging prefix, this trick fails... Maybe, it would be safer to always use DESTDIR (or equivalent) in chapter 5? Regards Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page