Changeset 7481894 for chapter05


Ignore:
Timestamp:
06/11/2023 08:40:43 PM (16 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2
Children:
a84c732
Parents:
cc44a47b
git-author:
Xi Ruoyao <xry111@…> (06/10/2023 05:34:37 PM)
git-committer:
Xi Ruoyao <xry111@…> (06/11/2023 08:40:43 PM)
Message:

loongarch: gcc: Adapt GCC lib64 -> lib quirk, and ...

Update config.guess for GMP in pass 1 and pass 2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    rcc44a47b r7481894  
    6363mv -v mpc-&mpc-version; mpc</userinput></screen>
    6464
    65     <para>On x86_64 hosts, set the default directory name for
     65    <para>Update the auxilary scripts of GMP building system to allow
     66    building it for LoongArch:</para>
     67
     68<screen><userinput remap="pre">cp config.{guess,sub} gmp</userinput></screen>
     69
     70    <para>Set the default directory name for
    6671    64-bit libraries to <quote>lib</quote>:</para>
    6772
    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>
     73<screen><userinput remap="pre">sed 's/lib64/lib/' -i.orig gcc/config/loongarch/{t-linux,linux.h}</userinput></screen>
    7474
    7575    <para>The GCC documentation recommends building GCC
Note: See TracChangeset for help on using the changeset viewer.