On 1/29/06, Jeremy Huntwork <[EMAIL PROTECTED]> wrote: > Jeremy Huntwork wrote: > > > +<screen><userinput>mv -v /tools/bin/{ld,ld-old} > > +mv -v /tools/$MACHTYPE/bin/{ld,ld-old} > > +mv -v /tools/bin{ld-new,ld} > > +ln -v /tools/bin/ld /tools/$MACHTYPE/bin/ld</userinput></screen> > > Any reason why something similar can't be done for the first pass of > binutils? I forgot about that one.
No, that's essentially what Greg's doing. http://www.diy-linux.org/x86-reference-build/temptools.html#tt-adjust-toolchain cp -v ld/ld-new ${TT_PFX}/bin at the end of Binutils-1 after the make LIB_PATH=/tools/lib In the adjustment, though, he uses `gcc -dumpmachine`, though. This is probably wise since you don't know what MACHTYPE is from the host's bash. In fact, this might be a good idea for both adjustments. I don't know how reliable MACHTYPE is, but I'm speculating since I don't know how it's determined. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page