Changeset 6e88633 for chapter06/readjusting.xml
- Timestamp:
- 12/03/2008 10:46:04 PM (16 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 4e82d47
- Parents:
- b0e1dc8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/readjusting.xml
rb0e1dc8 r6e88633 38 38 this:</para> 39 39 40 <important> 41 <para>If working on a platform where the name of the dynamic linker is 42 something other than <filename class="libraryfile">ld-linux.so.2</filename>, 43 substitute <quote>ld-linux.so.2</quote> with the name of the platform's 44 dynamic linker in the following commands. Refer to <xref 45 linkend="ch-tools-toolchaintechnotes" role=","/> if necessary.</para> 46 </important> 47 48 <screen><userinput>gcc -dumpspecs | sed \ 49 -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' \ 40 <screen><userinput>gcc -dumpspecs | sed -e 's@/tools@@g' \ 50 41 -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \ 51 42 -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \ … … 98 89 99 90 <para os="k">If everything is working correctly, there should be no errors, 100 and the output of the last command will be:</para> 91 and the output of the last command (allowing for platform-specific target triplets) 92 will be:</para> 101 93 102 94 <screen><computeroutput>SEARCH_DIR("/tools/i686-pc-linux-gnu/lib") … … 106 98 <para os="l">Next make sure that we're using the correct libc:</para> 107 99 108 <screen os="m"><userinput>grep "/lib /libc.so.6 " dummy.log</userinput></screen>100 <screen os="m"><userinput>grep "/lib.*/libc.so.6 " dummy.log</userinput></screen> 109 101 110 102 <para os="n">If everything is working correctly, there should be no errors, 111 and the output of the last command will be:</para> 103 and the output of the last command (allowing for a lib64 directory on 64-bit hosts) 104 will be:</para> 112 105 113 106 <screen os="o"><computeroutput>attempt to open /lib/libc.so.6 succeeded</computeroutput></screen> … … 119 112 <para os="r">If everything is working correctly, there should be no errors, 120 113 and the output of the last command will be (allowing for 121 platform-specific differences in dynamic linker name):</para> 114 platform-specific differences in dynamic linker name and a lib64 directory 115 on 64-bit hosts):</para> 122 116 123 117 <screen os="s"><computeroutput>found ld-linux.so.2 at /lib/ld-linux.so.2</computeroutput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.