Ignore:
Timestamp:
12/02/2016 07:30:39 PM (7 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Children:
853aeb6
Parents:
5d15cba
Message:

Create branch without lib64 symlinks

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass2.xml

    r5d15cba rd49e97c  
    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}
     
    8584done</userinput></screen>
    8685
     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>
     95
    8796    <para>As in the first build of GCC it requires the GMP, MPFR and MPC
    8897    packages. Unpack the tarballs and move them into the required directory
     
    118127    --with-local-prefix=/tools                     \
    119128    --with-native-system-header-dir=/tools/include \
     129    --with-slibdir=/tools/lib                      \
    120130    --enable-languages=c,c++                       \
    121131    --disable-libstdcxx-pch                        \
Note: See TracChangeset for help on using the changeset viewer.