I notice that in chapter 5 make, you have added the flag `--without-guile` with the explanation that we don't want to potentially link against the host system.
While I'm sure this does what is expected, the possibility of linking against the host there is a little alarming. At that point in the process, we should have made it near impossible for our toolchain to link against the host. The toolchain itself shouldn't look in '/' or '/usr' at all. Just kind of walking through it in my mind, one possibility is that pkg-config is returning flags that tell the compiler/linker to search in '/lib/' '/usr/lib' or wherever, on the host. Indeed, looking at the build logs for make, it does seem that it tries to find guile by using pkg-config. I propose that it would be better and more complete/safe to add pkg-config in the /tools path, but just have it exit with an error. Like `ln -s false /tools/bin/pkg-config`. I haven't tested this yet, but if it does what I expect, it should make it just that more certain that the host wouldn't pollute anything i /tools and we wouldn't have to add explicit flags like this anywhere. JH
-- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
