Ignore:
Timestamp:
12/17/2004 08:01:07 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
83865af
Parents:
c30ef42
Message:

Merged stuff from RAQ2 in chapter05.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/adjusting.xml

    rc30ef42 r2b6c440  
    3737<!-- Ampersands are needed to allow copy and paste -->
    3838
    39 <screen><userinput>SPECFILE=`gcc --print-file specs` &amp;&amp;
     39<screen arch="x86"><userinput>SPECFILE=`gcc --print-file specs` &amp;&amp;
    4040sed 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2@g' \
     41    $SPECFILE &gt; tempspecfile &amp;&amp;
     42mv -f tempspecfile $SPECFILE &amp;&amp;
     43unset SPECFILE</userinput></screen>
     44
     45<screen arch="raq2"><userinput>SPECFILE=`gcc --print-file specs` &amp;&amp;
     46sed 's@ /lib/ld.so.1@ /tools/lib/ld.so.1@g' \
    4147    $SPECFILE &gt; tempspecfile &amp;&amp;
    4248mv -f tempspecfile $SPECFILE &amp;&amp;
     
    4753<beginpage/>
    4854Alternatively, the specs file can be edited by hand. This is done by
    49 replacing every occurrence of <quote>/lib/ld-linux.so.2</quote> with
    50 <quote>/tools/lib/ld-linux.so.2</quote></para>
     55replacing every occurrence of <quote arch="x86">/lib/ld-linux.so.2</quote>
     56<quote arch="raq2">/lib/ld.so.1</quote> with <quote arch="x86">/tools/lib/ld-linux.so.2</quote>
     57<quote arch="raq2">/tools/lib/ld.so.2</quote></para>
    5158
    5259<para>Be sure to visually inspect the specs file in order to verify the
    5360intended changes have been made.</para>
     61
     62<!-- For specific arch books, the next para isn't needed, IMHO.
    5463
    5564<important><para>If working on a platform where the name of the
     
    6069linkend="ch-tools-toolchaintechnotes" role=","/> if
    6170necessary.</para></important>
     71-->
    6272
    6373<para>There is a possibility that some include files from the host
     
    8494and the output of the last command will be of the form:</para>
    8595
    86 <screen><computeroutput>[Requesting program interpreter:
     96<screen arch="x86"><computeroutput>[Requesting program interpreter:
    8797    /tools/lib/ld-linux.so.2]</computeroutput></screen>
     98
     99<screen arch="raq2"><computeroutput>[Requesting program interpreter:
     100    /tools/lib/ld.so.1]</computeroutput></screen>
    88101
    89102<para>Note that <filename class="directory">/tools/lib</filename>
Note: See TracChangeset for help on using the changeset viewer.