Ignore:
Timestamp:
08/07/2007 08:24:04 PM (17 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
71f6077
Parents:
400af5a8
Message:
  • Upgraded to HJL Binutils-2.17.50.0.18
  • Initial update of commands to work with both x86 and x86_64

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/adjusting.xml

    r400af5a8 rda2f9fe  
    3737  <para>For the sake of accuracy, it is recommended to use a copy-and-paste
    3838  method when issuing the following command. Be sure to visually inspect the
    39   specs file and verify that all occurrences of <quote>/lib64/ld-linux-x86-64.so.2</quote>
    40   have been replaced with <quote>/tools/lib64/ld-linux-x86-64.so.2</quote>:</para>
     39  specs file and verify that all occurrences of <quote>/lib/ld-linux.so.2</quote>
     40  have been replaced with <quote>/tools/lib/ld-linux.so.2</quote>:</para>
    4141
    4242  <important>
    4343    <para>If working on a platform where the name of the dynamic linker is
    44     something other than <filename class="libraryfile">ld-linux-x86-64.so.2</filename>,
    45     replace <quote>ld-linux-x86-64.so.2</quote> with the name of the platform's
     44    something other than <filename class="libraryfile">ld-linux.so.2</filename>,
     45    replace <quote>ld-linux.so.2</quote> with the name of the platform's
    4646    dynamic linker in the following commands. Refer to <xref
    47     linkend="ch-tools-toolchaintechnotes" role=","/> if necessary.</para>
     47    linkend="ch-tools-toolchaintechnotes" role=","/> if necessary. Additionally,
     48    note that on 64-bit machines the linker may actually be expected in the
     49    <filename class="directory">/lib64</filename> directory.</para>
    4850  </important>
    4951
    5052<!-- Ampersands are needed to allow copy and paste -->
    51 <screen><userinput>gcc -dumpspecs | sed 's@/lib64/ld-linux-x86-64.so.2@/tools&amp;@g' \
    52   > `dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen>
     53<screen><userinput>gcc -dumpspecs | sed 's@/lib\(64\)\?/ld@/tools&amp;@g' \
     54  &gt; `dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen>
    5355
    5456  <para>During the build process, GCC runs a script
     
    8587
    8688<screen><computeroutput>[Requesting program interpreter:
    87     /tools/lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
     89    /tools/lib/ld-linux.so.2]</computeroutput></screen>
    8890
    89     <para>Note that <filename class="directory">/tools/lib</filename>
     91    <para>Note that <filename class="directory">/tools/lib</filename>, or
     92    <filename class="directory">/tools/lib64</filename> for 64-bit machines
    9093    appears as the prefix of the dynamic linker.</para>
    9194
Note: See TracChangeset for help on using the changeset viewer.