#1837: Improve instruction for Adjusting Toolchain
-----------------------------------------+----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [email protected]
Type: enhancement | Status: new
Priority: normal | Milestone: 6.3
Component: Book | Version: SVN
Severity: normal | Keywords:
-----------------------------------------+----------------------------------
From Robert Connolly:
Rather than:
{{{
SPECFILE=`dirname $(gcc -print-libgcc-file-name)`/specs &&
gcc -dumpspecs > $SPECFILE &&
sed '[EMAIL PROTECTED]/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 '[EMAIL PROTECTED]/lib/ld-linux.so.2@/tools&@g' \
> `dirname $(gcc -print-libgcc-file-name)`/specs
}}}
The result is exactly the same.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1837>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page