Changes in chapter05/gcc-pass1.xml [7152faa:4ac095c7]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
r7152faa r4ac095c7 44 44 <title>Installation of Cross GCC</title> 45 45 46 <!-- https://gcc.gnu.org/r14-4674 --> 47 <para>At first, fix an issue producing illegal instructions in linked 48 executables and shared libraries with GCC &gcc-version; and 49 Binutils-2.42:</para> 50 51 <screen><userinput remap='pre'>sed -e '/ASM_OUTPUT_ALIGN_WITH_NOP/,+1d' \ 52 -i gcc/config/loongarch/loongarch.h</userinput></screen> 53 46 54 <para>GCC requires the GMP, MPFR and MPC packages. As these packages may 47 55 not be included in your host distribution, they will be built with … … 63 71 mv -v mpc-&mpc-version; mpc</userinput></screen> 64 72 65 <para> On x86_64 hosts, set the default directory name for73 <para>Set the default directory name for 66 74 64-bit libraries to <quote>lib</quote>:</para> 67 75 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> 76 <screen><userinput remap="pre">sed -e 's/lib64/lib/' \ 77 -i.orig gcc/config/loongarch/{t-linux,linux.h}</userinput></screen> 74 78 75 79 <para>The GCC documentation recommends building GCC … … 160 164 <term><parameter>--disable-multilib</parameter></term> 161 165 <listitem> 162 <para>On x86_64, LFS does not support a multilib configuration. 163 This switch is harmless for x86.</para> 166 <para>On LoongArch, LFS does not support a multilib configuration.</para> 164 167 </listitem> 165 168 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.