Changeset a0b689e for chapter05/chapter05.xml
- Timestamp:
- 02/11/2004 10:02:32 PM (20 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, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 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, v5_1, v5_1_1, 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:
- cd1ddd7
- Parents:
- c91dd5b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/chapter05.xml
rc91dd5b ra0b689e 440 440 441 441 442 <sect1 id="ch-tools- locking-glibc">443 <title> "Locking in" Glibc</title>444 <?dbhtml filename=" lockingglibc.html" dir="chapter05"?>442 <sect1 id="ch-tools-adjusting"> 443 <title>Adjusting the toolchain</title> 444 <?dbhtml filename="adjusting.html" dir="chapter05"?> 445 445 446 446 <para>Now that the temporary C libraries have been installed, we want all 447 447 the tools compiled in the rest of this chapter to be linked against these 448 448 libraries. To accomplish this, we need to adjust the linker and the compiler's 449 specs file.</para> 450 451 <para>First install the adjusted linker by running the following from within 449 specs file. Some people would say that it is <emphasis>"black magic juju below 450 this line"</emphasis>, but it is really very simple.</para> 451 452 <para>First install the adjusted linker (adjusted at the end of the first pass 453 of Binutils) by running the following command from within 452 454 the <filename class="directory">binutils-build</filename> directory:</para> 453 455 454 456 <screen><userinput>make -C ld install</userinput></screen> 455 457 456 <para>The linker was adjusted a little while back, at the end of the first 457 pass of Binutils. From this point onwards everything will link <emphasis>only 458 </emphasis> against the libraries in <filename>/tools/lib</filename>.</para> 458 <para>From this point onwards everything will link <emphasis>only</emphasis> 459 against the libraries in <filename>/tools/lib</filename>.</para> 459 460 460 461 <note><para>If you somehow missed the earlier warning to retain the Binutils … … 466 467 second pass of Binutils a bit further on.</para></note> 467 468 468 <para>Now that the adjusted linker is installed, you have to remove the469 Binutils build and source directories.</para>469 <para>Now that the adjusted linker is installed, you have to 470 <emphasis>remove</emphasis> the Binutils build and source directories.</para> 470 471 471 472 <para>The next thing to do is to amend our GCC specs file so that it points … … 542 543 <literallayout></literallayout> 543 544 544 <para>This completes the installation of the self-contained toolchain, and it545 can now be used to build the rest of the temporary tools.</para>546 547 545 </sect1> 548 546
Note:
See TracChangeset
for help on using the changeset viewer.