Changeset 9334a3f for chapter08


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.