Ignore:
Timestamp:
12/03/2008 10:46:04 PM (16 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
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
Message:

Initial addition of support for x86_64

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/readjusting.xml

    rb0e1dc8 r6e88633  
    3838  this:</para>
    3939
    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' \
    5041    -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \
    5142    -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' &gt; \
     
    9889
    9990  <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>
    10193
    10294<screen><computeroutput>SEARCH_DIR("/tools/i686-pc-linux-gnu/lib")
     
    10698  <para os="l">Next make sure that we're using the correct libc:</para>
    10799
    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>
    109101
    110102  <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>
    112105
    113106<screen os="o"><computeroutput>attempt to open /lib/libc.so.6 succeeded</computeroutput></screen>
     
    119112  <para os="r">If everything is working correctly, there should be no errors,
    120113  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>
    122116
    123117<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.