On 5/19/07, Robert Connolly <[EMAIL PROTECTED]> wrote: > On Saturday May 19 2007 19:01, Kevin Day wrote: > > This is about Chapter 5, for the adjusting the toolchain > > uclibc-2.6/chapter05/adjusting.html > > > > I think you should also handle the case where the host is a uClibc > > system as well, > > change: > > gcc -dumpspecs | sed 's@/lib/ld-linux.so.2@/tools/lib/[EMAIL PROTECTED]' \ > > > > > `dirname $(gcc -print-libgcc-file-name)`/specs > > > > to: > > gcc -dumpspecs | sed -e 's@/lib/ld-linux.so.2@/tools/lib/[EMAIL PROTECTED]' > > \ -e 's@/lib/ld-uClibc.so.0@/tools/lib/[EMAIL PROTECTED]'\ > > > > > `dirname $(gcc -print-libgcc-file-name)`/specs > > > > Or at least mention both cases separately. > > Is there any problem with 's@/lib/@/tools/lib/@' ? > > Both commands can be repeated multiple times (by mistake) and be okay because > it always uses a fresh -dumpspecs. > > robert >
That looks safe, I did not see any other appearance of /lib/ so that expression should be safe. -- Kevin Day -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
