uClibc 2.6 book suggestion & typo

Robert Connolly robert at linuxfromscratch.org
Sat May 19 21:40:35 PDT 2007


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/ld-uClibc.so.0 at g' \
>
>     > `dirname $(gcc -print-libgcc-file-name)`/specs
>
> to:
> gcc -dumpspecs | sed -e 's@/lib/ld-linux.so.2@/tools/lib/ld-uClibc.so.0 at g'
> \ -e 's@/lib/ld-uClibc.so.0@/tools/lib/ld-uClibc.so.0 at g'\
>
>     > `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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20070520/ba5c4326/attachment.sig>


More information about the hlfs-dev mailing list