Jeremy Huntwork wrote: > If this doesn't work, there's another idea, but I'm going to test this > first.
This didn't achieve the expected results. However, another way has. This currently passes all tests: 1) Do as DIY does and make a ld-new in chapter 5 binutils 2) Use the *startfile_prefix_spec addition as formerly (at the very least this keeps us congruent with cross-lfs which needs this for multilib - no sense using a different method when the one in CLFS will work for all of us) 3) Drop the wrapper script for gcc and instead of linking ld-new to /usr/bin/ld (which relies on gcc finding the proper path) we move the old ld out of the way and put the new static ld in its place. We also create a hard link to /tools/bin/ld from /tools/$MACHTYPE/bin/ld The results are that all sanity checks pass, chapter 6 binutils and gcc link against the proper glibc built in chapter 6, and we don't have to keep our binutils directories. -- JH -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page