Jeremy Henty wrote: > > Quote: > > Changes to some distros cause the build of check-0.9.9 to fail in > Chapter 5. The proper fix is to add --with-sysroot to the end of > the configure line in Binutils-2.23.1 - Pass 2. > > Is it *always* safe to add --with-sysroot , no matter what your host > distro? (My host is LFS-6.8 .)
--with-sysroot is an option passed when building the ld command. We only need it in Chapter 5 pass 2 because we need ld to search /tools for libraries. You can probably use it everywhere, but it also is not needed except in places like LFS where we --prefix=/tools. Note that in C5p2 we are specifically running CC=$LFS_TGT-gcc and we need to set up ld to search for libraries in the correct places in the correct order. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page