- Timestamp:
- 06/11/2023 08:40:43 PM (16 months ago)
- Branches:
- xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2
- Children:
- a84c732
- Parents:
- cc44a47b
- git-author:
- Xi Ruoyao <xry111@…> (06/10/2023 05:34:37 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (06/11/2023 08:40:43 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc-pass2.xml
rcc44a47b r7481894 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>Update the auxilary scripts of GMP building system to allow 61 building it for LoongArch:</para> 62 62 63 <screen><userinput remap="pre">case $(uname -m) in 64 x86_64) 65 sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64 66 ;; 67 esac</userinput></screen> 63 <screen><userinput remap="pre">cp config.{guess,sub} gmp</userinput></screen> 64 65 <para>Set the default directory name for 66 64-bit libraries to <quote>lib</quote>:</para> 67 68 <screen><userinput remap="pre">sed 's/lib64/lib/' -i.orig gcc/config/loongarch/{t-linux,linux.h}</userinput></screen> 68 69 69 70 <para>Override the building rule of libgcc and libstdc++ headers, to
Note:
See TracChangeset
for help on using the changeset viewer.