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