- Timestamp:
- 02/11/2004 10:02:32 PM (21 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, 12.2, 12.2-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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- cd1ddd7
- Parents:
- c91dd5b
- Location:
- chapter05
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/binutils-pass1.xml
rc91dd5b ra0b689e 84 84 <screen><userinput>make install</userinput></screen> 85 85 86 <para>Now prepare the linker for the " locking in" of Glibclater on:</para>86 <para>Now prepare the linker for the "Adjusting" phase later on:</para> 87 87 88 88 <screen><userinput>make -C ld clean … … 108 108 <literallayout></literallayout> 109 109 110 <warning><para> Do not yet remove the Binutils build and source directories. You111 will need them again in their current state a bit further on in this 112 chapter.</para></warning>110 <warning><para><emphasis>Do not yet remove</emphasis> the Binutils build and 111 source directories. You will need them again in their current state a bit 112 further on in this chapter.</para></warning> 113 113 114 114 <!-- HACK - Force some whitespace to appease tidy --> -
chapter05/binutils-pass2.xml
rc91dd5b ra0b689e 59 59 <screen><userinput>make install</userinput></screen> 60 60 61 <para>Now prepare Binutils for the re-adjusting of the toolchainin the next61 <para>Now prepare the linker for the "Re-adjusting" phase in the next 62 62 chapter:</para> 63 63 … … 68 68 <literallayout></literallayout> 69 69 70 <warning><para> Do not yet remove the Binutils source and build directories.71 We'll need these directories again in the next chapter in the state they are in 72 now.</para></warning>70 <warning><para><emphasis>Do not yet remove</emphasis> the Binutils source and 71 build directories. You will need these directories again in the next chapter 72 in the state they are in now.</para></warning> 73 73 74 74 <!-- HACK - Force some whitespace to appease tidy --> -
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 -
chapter05/gcc-pass2.xml
rc91dd5b ra0b689e 168 168 169 169 <note><para>At this point it is strongly recommended to repeat the sanity check 170 we performed earlier in th echapter. Refer back to171 <xref linkend="ch-tools- locking-glibc"/> and repeat the check. If the results are170 we performed earlier in this chapter. Refer back to 171 <xref linkend="ch-tools-adjusting"/> and repeat the check. If the results are 172 172 wrong, then most likely you forgot to apply the above mentioned GCC Specs 173 173 patch.</para></note>
Note:
See TracChangeset
for help on using the changeset viewer.