Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc-pass2.xml

    r3a72ffa rd70e621  
    5555mv -v mpc-&mpc-version; mpc</userinput></screen>
    5656
    57 
    58     <para arch="default">If building on x86_64, change the default directory name for 64-bit
     57    <para>If building on x86_64, change the default directory name for 64-bit
    5958    libraries to <quote>lib</quote>:</para>
    6059
    61 <screen arch="default"><userinput remap="pre">case $(uname -m) in
     60<screen><userinput remap="pre">case $(uname -m) in
    6261  x86_64)
    6362    sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
    6463  ;;
    6564esac</userinput></screen>
    66 
    67     <para arch="ml_32,ml_x32,ml_all">Change the default directory name for the
    68     libraries:</para>
    69 
    70 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \
    71     -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \
    72     -i.orig gcc/config/i386/t-linux64</userinput></screen>
    7365
    7466    <para>Override the building rule of libgcc and libstdc++ headers, to
     
    8880    <para>Now prepare GCC for compilation:</para>
    8981
    90 <screen arch="default"><userinput remap="configure">../configure                                       \
     82<screen><userinput remap="configure">../configure                                       \
    9183    --build=$(../config.guess)                     \
    9284    --host=$LFS_TGT                                \
     
    10597    --disable-libvtv                               \
    10698    --enable-languages=c,c++</userinput></screen>
    107 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure"
    108     arch="ml_32">mlist=m64,m32</userinput><userinput remap="configure"
    109     arch="ml_x32">mlist=m64,mx32</userinput><userinput remap="configure"
    110     arch="ml_all">mlist=m64,m32,mx32</userinput>
    111 <userinput remap="configure">../configure                                       \
    112     --build=$(../config.guess)                     \
    113     --host=$LFS_TGT                                \
    114     --target=$LFS_TGT                              \
    115     LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc      \
    116     --prefix=/usr                                  \
    117     --with-build-sysroot=$LFS                      \
    118     --enable-initfini-array                        \
    119     --disable-nls                                  \
    120     --enable-multilib --with-multilib-list=$mlist  \
    121     --disable-decimal-float                        \
    122     --disable-libatomic                            \
    123     --disable-libgomp                              \
    124     --disable-libquadmath                          \
    125     --disable-libssp                               \
    126     --disable-libvtv                               \
    127     --enable-languages=c,c++</userinput></screen>
    128 <!--
    129     LDFLAGS_FOR_TARGET="-L$PWD/$LFS_TGT/libgcc -L$PWD/$LFS_TGT/32/libgcc -L$PWD/$LFS_TGT/x32/libgcc" \
    130 -->
     99
    131100    <variablelist>
    132101      <title>The meaning of the new configure options:</title><!-- WIP -->
Note: See TracChangeset for help on using the changeset viewer.