Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc-pass2.xml

    r7481894 rf652d5bb  
    5858mv -v mpc-&mpc-version; mpc</userinput></screen>
    5959
    60     <para>Update the auxilary scripts of GMP building system to allow
    61     building it for LoongArch:</para>
     60    <para>If building on x86_64, change the default directory name for 64-bit
     61    libraries to <quote>lib</quote>:</para>
    6262
    63 <screen><userinput remap="pre">cp config.{guess,sub} gmp</userinput></screen>
    64 
    65     <para>Set the default directory name for
    66     64-bit libraries to <quote>lib</quote>:</para>
    67 
    68 <screen><userinput remap="pre">sed 's/lib64/lib/' -i.orig gcc/config/loongarch/{t-linux,linux.h}</userinput></screen>
     63<screen><userinput remap="pre">case $(uname -m) in
     64  x86_64)
     65    sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
     66  ;;
     67esac</userinput></screen>
    6968
    7069    <para>Override the building rule of libgcc and libstdc++ headers, to
     
    9897    --disable-libgomp                              \
    9998    --disable-libquadmath                          \
     99    --disable-libsanitizer                         \
    100100    --disable-libssp                               \
    101101    --disable-libvtv                               \
     
    145145      </varlistentry>
    146146
     147      <varlistentry>
     148        <term><parameter>--disable-libsanitizer</parameter></term>
     149        <listitem>
     150          <para>Disable GCC sanitizer runtime libraries.  They are not
     151          needed for the temporary installation.  This switch is necessary
     152          to build GCC without
     153          <systemitem class='library'>libcrypt</systemitem> installed for
     154          the target.  In <xref linkend='ch-tools-gcc-pass1'/> it was
     155          implied by <parameter>--disable-libstdcxx</parameter>, but now we
     156          have to explicitly pass it.</para>
     157        </listitem>
     158      </varlistentry>
     159
    147160    </variablelist>
    148161
Note: See TracChangeset for help on using the changeset viewer.