Changeset be3d9f3 for chapter05


Ignore:
Timestamp:
12/17/2016 06:46:18 AM (7 years ago)
Author:
DJ Lucas <dj@…>
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, 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:
98e7ac4
Parents:
9f3c264
Message:

Merge nosym branch.

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

Location:
chapter05
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    r9f3c264 rbe3d9f3  
    6969    Issue:</para>
    7070
    71 <screen><userinput remap="pre">for file in \
    72  $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
     71<screen><userinput remap="pre">for file in gcc/config/{linux,i386/linux{,64}}.h
    7372do
    7473  cp -uv $file{,.orig}
     
    9897    copied files.  When used in conjunction with <command>cp -u</command>, this
    9998    prevents unexpected changes to the original files in case the commands are
    100     inadvertently run twice.  </para>
     99    inadvertently run twice.</para>
     100
     101    <para>Finally, on x86_64 hosts, set the default directory name for
     102    64-bit libraries to <quote>lib</quote>:</para>
     103
     104<screen><userinput remap="pre">case $(uname -m) in
     105  x86_64)
     106    sed -e '/m64=/s/lib64/lib/' \
     107        -i.orig gcc/config/i386/t-linux64
     108 ;;
     109esac</userinput></screen>
     110
    101111<!--
    102112    <para>GCC doesn't detect stack protection correctly, which causes problems
  • chapter05/gcc-pass2.xml

    r9f3c264 rbe3d9f3  
    7171    class="directory">/tools</filename>.</para>
    7272
    73 <screen><userinput remap="pre">for file in \
    74  $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
     73<screen><userinput remap="pre">for file in gcc/config/{linux,i386/linux{,64}}.h
    7574do
    7675  cp -uv $file{,.orig}
     
    8483  touch $file.orig
    8584done</userinput></screen>
     85
     86    <para>If building on x86_64, change the default directory name for 64-bit
     87    libraries to <quote>lib</quote>:</para>
     88
     89<screen><userinput remap="pre">case $(uname -m) in
     90  x86_64)
     91    sed -e '/m64=/s/lib64/lib/' \
     92        -i.orig gcc/config/i386/t-linux64
     93  ;;
     94esac</userinput></screen>
    8695
    8796    <para>As in the first build of GCC it requires the GMP, MPFR and MPC
Note: See TracChangeset for help on using the changeset viewer.