Changeset 2b6c440 for chapter05


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

Location:
chapter05
Files:
4 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>
  • chapter05/glibc.xml

    rc30ef42 r2b6c440  
    3838the method suggested in this book puts the stability of the system at
    3939risk.</para>
     40
     41<para arch="raq2">NPTL is not supported under the MIPS architecture, so we are going to
     42remove the nptl directory from the Glibc source:</para>
     43
     44<screen arch="raq2"><userinput>rm -rf nptl</userinput></screen>
     45
     46<para arch="raq2">This patch fixes a librt linking issue.</para>
     47
     48<screen arch="raq2"><userinput>patch -Np1 -i ../glibc-&glibc-version;-raq2_librt_linking-1.patch</userinput></screen>
     49
     50<para arch="raq2">This patch contains all the necessary patches for RaQ2 server.</para>
     51
     52<screen arch="raq2"><userinput>patch -Np1 -i ../glibc-&glibc-version;-raq2_fixes-1.patch</userinput></screen>
    4053
    4154<para>The Glibc documentation recommends building Glibc outside of the source
  • chapter05/grep.xml

    rc30ef42 r2b6c440  
    2727<sect2 role="installation">
    2828<title>Installation of Grep</title>
     29
     30<para arch="raq2">This patch updates config.guess and config.sub for RaQ2 servers.</para>
     31
     32<screen arch="raq2"><userinput>patch -Np1 -i ../grep-&grep-version;-raq2_config_update-1.patch</userinput></screen>
    2933
    3034<para>Prepare Grep for compilation:</para>
  • chapter05/linux-libc-headers.xml

    rc30ef42 r2b6c440  
    4141Interface (API) stable version of the Linux headers.</para>
    4242
     43<para arch="raq2">This patch fixes a compile issue with Glibc on a RaQ2 server.</para>
     44
     45<screen arch="raq2"><userinput>patch -Np1 -i ../linux-libc-headers-&linux-libc-headers-version;-raq2_fix-1.patch</userinput></screen>
     46
    4347<para>Install the header files:</para>
    4448
Note: See TracChangeset for help on using the changeset viewer.