Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc-pass2.xml

    r1835fca r0611f706  
    5959mv -v mpc-&mpc-version; mpc</userinput></screen>
    6060
    61 
    62     <para arch="default">If building on x86_64, change the default directory name for 64-bit
     61    <para>If building on x86_64, change the default directory name for 64-bit
    6362    libraries to <quote>lib</quote>:</para>
    6463
    65 <screen arch="default"><userinput remap="pre">case $(uname -m) in
     64<screen><userinput remap="pre">case $(uname -m) in
    6665  x86_64)
    6766    sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
    6867  ;;
    6968esac</userinput></screen>
    70 
    71     <para arch="ml_32,ml_x32,ml_all">Change the default directory name for the
    72     libraries:</para>
    73 
    74 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \
    75     -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \
    76     -i.orig gcc/config/i386/t-linux64</userinput></screen>
    7769
    7870    <para>Override the building rule of libgcc and libstdc++ headers, to
     
    9284    <para>Now prepare GCC for compilation:</para>
    9385
    94 <screen arch="default"><userinput remap="configure">../configure                                       \
     86<screen><userinput remap="configure">../configure                                       \
    9587    --build=$(../config.guess)                     \
    9688    --host=$LFS_TGT                                \
     
    110102    --disable-libvtv                               \
    111103    --enable-languages=c,c++</userinput></screen>
    112 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure"
    113     arch="ml_32">mlist=m64,m32</userinput><userinput remap="configure"
    114     arch="ml_x32">mlist=m64,mx32</userinput><userinput remap="configure"
    115     arch="ml_all">mlist=m64,m32,mx32</userinput>
    116 <userinput remap="configure">../configure                                       \
    117     --build=$(../config.guess)                     \
    118     --host=$LFS_TGT                                \
    119     --target=$LFS_TGT                              \
    120     LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc      \
    121     --prefix=/usr                                  \
    122     --with-build-sysroot=$LFS                      \
    123     --enable-default-pie                           \
    124     --enable-default-ssp                           \
    125     --enable-initfini-array                        \
    126     --disable-nls                                  \
    127     --enable-multilib --with-multilib-list=$mlist  \
    128     --disable-decimal-float                        \
    129     --disable-libatomic                            \
    130     --disable-libgomp                              \
    131     --disable-libquadmath                          \
    132     --disable-libssp                               \
    133     --disable-libvtv                               \
    134     --enable-languages=c,c++</userinput></screen>
    135 <!--
    136     LDFLAGS_FOR_TARGET="-L$PWD/$LFS_TGT/libgcc -L$PWD/$LFS_TGT/32/libgcc -L$PWD/$LFS_TGT/x32/libgcc" \
    137 -->
     104
    138105    <variablelist>
    139106      <title>The meaning of the new configure options:</title><!-- WIP -->
Note: See TracChangeset for help on using the changeset viewer.