On 1/29/06, Jeremy Huntwork <[EMAIL PROTECTED]> wrote: > > So. Exepect a commit in ~ 5 minutes.
Hey, Jeremy, just a little nit. The new specs readjustment will fail because we're piping input to perl, but then using the -i parameter to work on the `dirname ...`/specs file. This fails if that file doesn't exist. Probably, we should drop -i and redirect the output: gcc -dumpspecs | \ perl -p -e 's@/tools/lib/ld-linux.so.2@/lib/[EMAIL PROTECTED];' \ -e '[EMAIL PROTECTED]:[EMAIL PROTECTED]/usr/lib/ @g;' > \ > `dirname $(gcc --print-libgcc-file-name)`/specs Or do the -dumpspecs > first, using SPECFILE=... like before. In fact, it might not be a bad idea to leave the SPECFILE=... stuff in there anyway so we can use the variable. That command is getting to be quite a handful, and we don't want the noobs re-running the perl command. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page