On Tue, 13 Mar 2012 15:19:19 +0000 Andrew Benton <a...@benton.eu.com> wrote:
> checking dynamic linker characteristics... configure: error: Link tests are > not allowed after GCC_NO_EXECUTABLES. > make[2]: *** [configure-target-zlib] Error 1 > make[2]: Leaving directory `/tmp/sources/gcc-build' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/tmp/sources/gcc-build' > > This was using Jeremy's sysroot.diff on top of the LFS xml files. I > think vanilla LFS will work for me as it has the patch and > --disable-target-zlib ... and then I tried jhalfs with the vanilla LFS svn book and of course, I was wrong again, it failed in exactly the same way! Looking at the differences between the book and the scripts that work for me, the book has --disable-target-libiberty --disable-target-zlib and my scripts have --without-target-libiberty --without-target-zlib (it took me a while to see the difference...) If I edit the LFS xml and change `disable' to `without' and start again, then it works. It seems that the gcc-4.6.3-cross_compile-1.patch does not recognise --disable-target-libiberty or --disable-target-zlib Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page