Changeset 4ac095c7
- Timestamp:
- 02/06/2024 09:28:15 PM (4 months ago)
- Branches:
- xry111/loongarch, xry111/loongarch-12.1
- Children:
- ec36fac
- Parents:
- 2a71a83
- git-author:
- Xi Ruoyao <xry111@…> (02/06/2024 09:26:00 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (02/06/2024 09:28:15 PM)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
r2a71a83 r4ac095c7 43 43 <sect2 role="installation"> 44 44 <title>Installation of Cross GCC</title> 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> 45 53 46 54 <para>GCC requires the GMP, MPFR and MPC packages. As these packages may -
chapter06/gcc-pass2.xml
r2a71a83 r4ac095c7 48 48 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen> 49 49 --> 50 51 <!-- https://gcc.gnu.org/r14-4674 --> 52 <para>Again, fix an issue producing illegal instructions in linked 53 executables and shared libraries with GCC &gcc-version; and 54 Binutils-2.42:</para> 55 56 <screen><userinput remap='pre'>sed -e '/ASM_OUTPUT_ALIGN_WITH_NOP/,+1d' \ 57 -i gcc/config/loongarch/loongarch.h</userinput></screen> 58 50 59 <para>As in the first build of GCC, the GMP, MPFR, and MPC packages are 51 60 required. Unpack the tarballs and move them into the required directories:</para> -
chapter08/gcc.xml
r2a71a83 r4ac095c7 55 55 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen> 56 56 --> 57 58 <!-- https://gcc.gnu.org/r14-4674 --> 59 <para>Again, fix an issue producing illegal instructions in linked 60 executables and shared libraries with GCC &gcc-version; and 61 Binutils-2.42:</para> 62 63 <screen><userinput remap='pre'>sed -e '/ASM_OUTPUT_ALIGN_WITH_NOP/,+1d' \ 64 -i gcc/config/loongarch/loongarch.h</userinput></screen> 65 57 66 <para>Set the default directory name for 58 67 64-bit libraries to <quote>lib</quote>:</para>
Note:
See TracChangeset
for help on using the changeset viewer.