- Timestamp:
- 02/03/2016 04:09:41 AM (8 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 2e1a0ff
- Parents:
- 63df8c7
- Location:
- chapter06
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/adjusting.xml
r63df8c7 r8035f937 17 17 <para>First, backup the <filename class="directory">/tools</filename> linker, 18 18 and replace it with the adjusted linker we made in chapter 5. We'll also create 19 a link to its counterpart in <filename class="directory">/tools/$(gcc20 -dumpmachine)/bin</filename>:</para>19 a link to its counterpart in 20 <filename class="directory">/tools/$(uname -m)-pc-linux-gnu/bin</filename>:</para> 21 21 22 22 <screen><userinput>mv -v /tools/bin/{ld,ld-old} 23 mv -v /tools/$( gcc -dumpmachine)/bin/{ld,ld-old}23 mv -v /tools/$(uname -m)-pc-linux-gnu/bin/{ld,ld-old} 24 24 mv -v /tools/bin/{ld-new,ld} 25 ln -sv /tools/bin/ld /tools/$( gcc -dumpmachine)/bin/ld</userinput></screen>25 ln -sv /tools/bin/ld /tools/$(uname -m)-pc-linux-gnu/bin/ld</userinput></screen> 26 26 27 27 <para>Next, amend the GCC specs file so that it points to the new -
chapter06/binutils.xml
r63df8c7 r8035f937 57 57 <screen><computeroutput>The system has no more ptys. 58 58 Ask your system administrator to create more.</computeroutput></screen> 59 <!-- 60 <para>Fix some LTO tests in the test suite:</para> 61 62 <screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-testsuite-patch;</userinput></screen> 63 64 <para>Enable binutils to recognize multiple plugins:</para> 65 66 <screen><userinput remap="pre">patch -Np1 -i ../&binutils-multiple-plugins-patch;</userinput></screen> 67 --> 59 60 <para>Fix a problem identified upstream:</para> 61 62 <screen><userinput remap="pre">patch -Np1 -i ../&binutils-upstream-patch;</userinput></screen> 63 68 64 <para>The Binutils documentation recommends building Binutils 69 65 in a dedicated build directory:</para>
Note:
See TracChangeset
for help on using the changeset viewer.