Changeset da2f9fe for chapter05/adjusting.xml
- Timestamp:
- 08/07/2007 08:24:04 PM (17 years ago)
- Children:
- 71f6077
- Parents:
- 400af5a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/adjusting.xml
r400af5a8 rda2f9fe 37 37 <para>For the sake of accuracy, it is recommended to use a copy-and-paste 38 38 method when issuing the following command. Be sure to visually inspect the 39 specs file and verify that all occurrences of <quote>/lib 64/ld-linux-x86-64.so.2</quote>40 have been replaced with <quote>/tools/lib 64/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> 41 41 42 42 <important> 43 43 <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's44 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 46 46 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> 48 50 </important> 49 51 50 52 <!-- Ampersands are needed to allow copy and paste --> 51 <screen><userinput>gcc -dumpspecs | sed 's@/lib 64/ld-linux-x86-64.so.2@/tools&@g' \52 >`dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen>53 <screen><userinput>gcc -dumpspecs | sed 's@/lib\(64\)\?/ld@/tools&@g' \ 54 > `dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen> 53 55 54 56 <para>During the build process, GCC runs a script … … 85 87 86 88 <screen><computeroutput>[Requesting program interpreter: 87 /tools/lib 64/ld-linux-x86-64.so.2]</computeroutput></screen>89 /tools/lib/ld-linux.so.2]</computeroutput></screen> 88 90 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 90 93 appears as the prefix of the dynamic linker.</para> 91 94
Note:
See TracChangeset
for help on using the changeset viewer.