Changeset 9334a3f


Ignore:
Timestamp:
08/26/2022 12:31:32 PM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64, xry111/arm64-12.0
Children:
c18558c
Parents:
4d8854a
git-author:
Xi Ruoyao <xry111@…> (08/24/2022 03:26:41 PM)
git-committer:
Xi Ruoyao <xry111@…> (08/26/2022 12:31:32 PM)
Message:

arm64: adapt GCC lib64 -> lib quirk for aarch64

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    r4d8854a r9334a3f  
    6363mv -v mpc-&mpc-version; mpc</userinput></screen>
    6464
    65     <para>On x86_64 hosts, set the default directory name for
     65    <para>On ARM64 hosts, set the default directory name for
    6666    64-bit libraries to <quote>lib</quote>:</para>
    6767
    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>
     68<screen><userinput remap="pre">sed -e '/lp64=/s/lib64/lib/' \
     69    -i.orig gcc/config/aarch64/t-aarch64-linux</userinput></screen>
    7470
    7571    <para>The GCC documentation recommends building GCC
  • chapter06/gcc-pass2.xml

    r4d8854a r9334a3f  
    5959mv -v mpc-&mpc-version; mpc</userinput></screen>
    6060
    61     <para>If building on x86_64, change the default directory name for 64-bit
    62     libraries to <quote>lib</quote>:</para>
     61    <para>On ARM64 hosts, set the default directory name for
     62    64-bit libraries to <quote>lib</quote>:</para>
    6363
    64 <screen><userinput remap="pre">case $(uname -m) in
    65   x86_64)
    66     sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
    67   ;;
    68 esac</userinput></screen>
     64<screen><userinput remap="pre">sed -e '/lp64=/s/lib64/lib/' \
     65    -i.orig gcc/config/aarch64/t-aarch64-linux</userinput></screen>
    6966
    7067    <para>Override the building rule of libgcc and libstdc++ headers, to
  • chapter08/gcc.xml

    r4d8854a r9334a3f  
    5555    <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
    5656-->
    57     <para>If building on x86_64, change the default directory name for 64-bit
    58     libraries to <quote>lib</quote>:</para>
    59 
    60 <screen><userinput remap="pre">case $(uname -m) in
    61   x86_64)
    62     sed -e '/m64=/s/lib64/lib/' \
    63         -i.orig gcc/config/i386/t-linux64
    64   ;;
    65 esac</userinput></screen>
     57    <para>On ARM64 hosts, set the default directory name for
     58    64-bit libraries to <quote>lib</quote>:</para>
     59
     60<screen><userinput remap="pre">sed -e '/lp64=/s/lib64/lib/' \
     61    -i.orig gcc/config/aarch64/t-aarch64-linux</userinput></screen>
    6662
    6763    <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
Note: See TracChangeset for help on using the changeset viewer.