Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    r7152faa r4ac095c7  
    4444    <title>Installation of Cross GCC</title>
    4545
     46    <!-- https://gcc.gnu.org/r14-4674 -->
     47    <para>At first, fix an issue producing illegal instructions in linked
     48    executables and shared libraries with GCC &gcc-version; and
     49    Binutils-2.42:</para>
     50
     51    <screen><userinput remap='pre'>sed -e '/ASM_OUTPUT_ALIGN_WITH_NOP/,+1d' \
     52    -i gcc/config/loongarch/loongarch.h</userinput></screen>
     53
    4654    <para>GCC requires the GMP, MPFR and MPC packages. As these packages may
    4755    not be included in your host distribution, they will be built with
     
    6371mv -v mpc-&mpc-version; mpc</userinput></screen>
    6472
    65     <para>On x86_64 hosts, set the default directory name for
     73    <para>Set the default directory name for
    6674    64-bit libraries to <quote>lib</quote>:</para>
    6775
    68 <screen><userinput remap="pre">case $(uname -m) in
    69   x86_64)
    70     sed -e '/m64=/s/lib64/lib/' \
    71         -i.orig gcc/config/i386/t-linux64
    72  ;;
    73 esac</userinput></screen>
     76<screen><userinput remap="pre">sed -e 's/lib64/lib/' \
     77    -i.orig gcc/config/loongarch/{t-linux,linux.h}</userinput></screen>
    7478
    7579    <para>The GCC documentation recommends building GCC
     
    160164        <term><parameter>--disable-multilib</parameter></term>
    161165        <listitem>
    162           <para>On x86_64, LFS does not support a multilib configuration.
    163           This switch is harmless for x86.</para>
     166          <para>On LoongArch, LFS does not support a multilib configuration.</para>
    164167        </listitem>
    165168      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.