Changeset 687a1b1


Ignore:
Timestamp:
02/28/2024 04:02:52 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/mips64el
Children:
60dbbd1
Parents:
caaeaa7
git-author:
Xi Ruoyao <xry111@…> (01/03/2024 05:42:34 AM)
git-committer:
Xi Ruoyao <xry111@…> (02/28/2024 04:02:52 PM)
Message:

mips64el: gcc: use lib instead of lib64

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    rcaaeaa7 r687a1b1  
    6363mv -v mpc-&mpc-version; mpc</userinput></screen>
    6464
    65     <para>On x86_64 hosts, set the default directory name for
     65    <para>On 64-bit MIPS 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 's/lib64/lib/' \
     69    -i.orig gcc/config/mips/{mips.h,t-linux64}</userinput></screen>
    7470
    7571    <para>The GCC documentation recommends building GCC
     
    160156        <term><parameter>--disable-multilib</parameter></term>
    161157        <listitem>
    162           <para>On x86_64, LFS does not support a multilib configuration.
    163           This switch is harmless for x86.</para>
     158          <para>On 64-bit MIPS, LFS does not support a multilib configuration.</para>
    164159        </listitem>
    165160      </varlistentry>
  • chapter06/gcc-pass2.xml

    rcaaeaa7 r687a1b1  
    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>For building on 64-bit MIPS, change the default directory name for
     61    64-bit libraries to <quote>lib</quote>:</para>
    6262
    63 <screen><userinput remap="pre">case $(uname -m) in
    64   x86_64)
    65     sed -e '/m64=/s/lib64/lib/' \
    66         -i.orig gcc/config/i386/t-linux64
    67   ;;
    68 esac</userinput></screen>
     63<screen><userinput remap="pre">sed -e 's/lib64/lib/' \
     64    -i.orig gcc/config/mips/{mips.h,t-linux64}</userinput></screen>
    6965
    7066    <para>Override the building rule of libgcc and libstdc++ headers, to
  • chapter08/gcc.xml

    rcaaeaa7 r687a1b1  
    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>For building on 64-bit MIPS, change the default directory name for
     58    64-bit libraries to <quote>lib</quote>:</para>
     59
     60<screen><userinput remap="pre">sed -e 's/lib64/lib/' \
     61    -i.orig gcc/config/mips/{mips.h,t-linux64}</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.