Ignore:
Timestamp:
02/26/2022 03:43:12 PM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
db51ee9
Parents:
96dda27a
git-author:
Xi Ruoyao <xry111@…> (12/17/2021 12:09:06 PM)
git-committer:
Xi Ruoyao <xry111@…> (02/26/2022 03:43:12 PM)
Message:

cross-ng: gcc: don't rely on "uname -m"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc-pass2.xml

    r96dda27a r30ae09bb  
    5555mv -v mpc-&mpc-version; mpc</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>
     57    <para>For x86_64 target, set the default directory name for
     58    64-bit libraries to <quote>lib</quote>.  The command is unnecessary,
     59    but harmless for 32-bit x86.  If you are building for another target,
     60    you may need to adjust the command for your target.</para>
    5961
    60 <screen><userinput remap="pre">case $(uname -m) in
    61   x86_64)
    62     sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
    63   ;;
    64 esac</userinput></screen>
     62<screen><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \
     63    -i.orig gcc/config/i386/t-linux64</userinput></screen>
     64
    6565<!--
    6666    <para>Fix an issue with GCC-10.1 when building with a cross
Note: See TracChangeset for help on using the changeset viewer.