Changeset 7481894 for chapter06


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
  • chapter06/gcc-pass2.xml

    rcc44a47b r7481894  
    5858mv -v mpc-&mpc-version; mpc</userinput></screen>
    5959
    60     <para>If building on x86_64, change the default directory name for 64-bit
    61     libraries to <quote>lib</quote>:</para>
     60    <para>Update the auxilary scripts of GMP building system to allow
     61    building it for LoongArch:</para>
    6262
    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   ;;
    67 esac</userinput></screen>
     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>
    6869
    6970    <para>Override the building rule of libgcc and libstdc++ headers, to
Note: See TracChangeset for help on using the changeset viewer.