On 1/26/06, Jeremy Huntwork <[EMAIL PROTECTED]> wrote: > > 1) Do as DIY does and make a ld-new in chapter 5 binutils
Why build something if you don't need to. ld --nostdlib -L/usr/lib -L/lib works? It is not an undocumented switch. > 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 main purpose of the bug was that /tools should not be modified in any way once you are in chroot. I still don't understand the problem with using wrappers. They are an elegant way of executing the compiler and linker with the switches that we want. I don't agree with the "They are evil" statement. Yes, if it is overused, it can cause problems. -- Tushar Teredesai mailto:[EMAIL PROTECTED] http://www.linuxfromscratch.org/~tushar/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page