Changeset f4b803f for chapter06


Ignore:
Timestamp:
07/16/2005 07:24:28 PM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
ccc95be
Parents:
f213c7b3
Message:

Fixed chapter 6 readjusting the toolchain sed.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/gcc4/BOOK@6542 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/readjusting.xml

    rf213c7b3 rf4b803f  
    5454dynamic linker. A <command>perl</command> command accomplishes this:</para>
    5555
    56 <screen><userinput>perl -pi -e 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g;' \
    57     -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' \
    58         `gcc --print-file specs`</userinput></screen>
     56<screen><userinput>SPECFILE=`gcc -print-search-dirs | head -n 1 | awk '{ print $2 "specs" }'` &amp;&amp;
     57gcc -dumpspecs > $SPECFILE &amp;&amp;
     58sed -i -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' $SPECFILE &amp;&amp;
     59unset SPECFILE</userinput></screen>
    5960
    6061<para>It is a good idea to visually inspect the specs file to verify the intended
Note: See TracChangeset for help on using the changeset viewer.