Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#1837 closed enhancement (fixed)

Improve instruction for Adjusting Toolchain

Reported by: bdubbs@… Owned by: lfs-book@…
Priority: normal Milestone:
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

From Robert Connolly:

Rather than:

SPECFILE=`dirname $(gcc -print-libgcc-file-name)`/specs &&
gcc -dumpspecs > $SPECFILE &&
sed 's@^/lib/ld-linux.so.2@/tools&@g' $SPECFILE > tempspecfile &&
mv -vf tempspecfile $SPECFILE &&
unset SPECFILE

I find it cleaner and easier to read:

gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' \
    > `dirname $(gcc -print-libgcc-file-name)`/specs

The result is exactly the same.

Change History (2)

comment:1 by Matthew Burgess, 18 years ago

Resolution: fixed
Status: newclosed

Thanks Robert. Fixed in r7775.

comment:2 by Jeremy Huntwork, 17 years ago

Milestone: 6.3

Milestone 6.3 deleted

Note: See TracTickets for help on using tickets.