Sorry for the repeat, folks. I sent this the first time in an HTML message, and evidently it took five days to get through the review process. After two days, I resent it in plaintext, and that's what spurred the conversation.
Please ignore. - Jon On Jul 10, 2007, at 10:15 PM, Jon Fullmer wrote: > Gentlemen, > > Forgive a novice to this list. I couldn't find any mention of this, > so if it's already been talked about, I'm sorry. > > Step 5.7 of the recent development book shows this step currently > to generate the specs file: > > gcc -dumpspecs | sed '[EMAIL PROTECTED]/lib/ld-linux.so.2@/tools&@g' \ > > `dirname $(gcc -print-libgcc-file-name)`/specs > > When putting this system for a non-x86 (PowerPC, to be specific), I > noticed that this setup is actually wrong. I discovered this when > the compile test of the dummy.c code showed the interpreter as > still being /lib/ld... (as opposed to /tools/lib/ld...). In looking > at the generated stream, I noticed that the "/lib/ld..." > mentionings do not occur at the beginning of the line, as the sed > statement requires. I would think that you would need to remove the > ^, like this: > > gcc -dumpspecs | sed 's@/lib/ld-linux.so.2@/tools&@g' \ > > `dirname $(gcc -print-libgcc-file-name)`/specs > > That's what I did, anyway, and it worked great. > > This is my first shot at participating in the Development version, > so if I'm full of it, or I've totally missed something obvious, > feel free to point it out to me. I love LFS, and would love to see > it continue in its greatness. Thanks. > > - Jon > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-dev > FAQ: http://www.linuxfromscratch.org/faq/ > Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page