Changeset 9334a3f
- Timestamp:
- 08/26/2022 12:31:32 PM (2 years ago)
- Branches:
- xry111/arm64, xry111/arm64-12.0
- Children:
- c18558c
- Parents:
- 4d8854a
- git-author:
- Xi Ruoyao <xry111@…> (08/24/2022 03:26:41 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (08/26/2022 12:31:32 PM)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
r4d8854a r9334a3f 63 63 mv -v mpc-&mpc-version; mpc</userinput></screen> 64 64 65 <para>On x86_64 hosts, set the default directory name for65 <para>On ARM64 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 '/lp64=/s/lib64/lib/' \ 69 -i.orig gcc/config/aarch64/t-aarch64-linux</userinput></screen> 74 70 75 71 <para>The GCC documentation recommends building GCC -
chapter06/gcc-pass2.xml
r4d8854a r9334a3f 59 59 mv -v mpc-&mpc-version; mpc</userinput></screen> 60 60 61 <para> If building on x86_64, change the default directory name for 64-bit62 libraries to <quote>lib</quote>:</para>61 <para>On ARM64 hosts, set the default directory name for 62 64-bit libraries to <quote>lib</quote>:</para> 63 63 64 <screen><userinput remap="pre">case $(uname -m) in 65 x86_64) 66 sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64 67 ;; 68 esac</userinput></screen> 64 <screen><userinput remap="pre">sed -e '/lp64=/s/lib64/lib/' \ 65 -i.orig gcc/config/aarch64/t-aarch64-linux</userinput></screen> 69 66 70 67 <para>Override the building rule of libgcc and libstdc++ headers, to -
chapter08/gcc.xml
r4d8854a r9334a3f 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>On ARM64 hosts, set the default directory name for 58 64-bit libraries to <quote>lib</quote>:</para> 59 60 <screen><userinput remap="pre">sed -e '/lp64=/s/lib64/lib/' \ 61 -i.orig gcc/config/aarch64/t-aarch64-linux</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.