Changeset 687a1b1
- Timestamp:
- 02/28/2024 04:02:52 PM (7 months ago)
- 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)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
rcaaeaa7 r687a1b1 63 63 mv -v mpc-&mpc-version; mpc</userinput></screen> 64 64 65 <para>On x86_64hosts, set the default directory name for65 <para>On 64-bit MIPS hosts, set the default directory name for 66 66 64-bit libraries to <quote>lib</quote>:</para> 67 67 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> 74 70 75 71 <para>The GCC documentation recommends building GCC … … 160 156 <term><parameter>--disable-multilib</parameter></term> 161 157 <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> 164 159 </listitem> 165 160 </varlistentry> -
chapter06/gcc-pass2.xml
rcaaeaa7 r687a1b1 58 58 mv -v mpc-&mpc-version; mpc</userinput></screen> 59 59 60 <para> If building on x86_64, change the default directory name for 64-bit61 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> 62 62 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> 69 65 70 66 <para>Override the building rule of libgcc and libstdc++ headers, to -
chapter08/gcc.xml
rcaaeaa7 r687a1b1 55 55 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen> 56 56 --> 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> 66 62 67 63 <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
Note:
See TracChangeset
for help on using the changeset viewer.