|
@@ -7,25 +7,22 @@
|
|
|
<title>Re-adjusting the Toolchain</title>
|
|
|
<?dbhtml filename="readjusting.html"?>
|
|
|
|
|
|
-<para>Now that the new and final C libraries have been installed, it
|
|
|
-is time to adjust the toolchain again. The toolchain will be adjusted
|
|
|
-so that it will link any newly compiled program against these new
|
|
|
-libraries. This is the same process used in the
|
|
|
-<quote>Adjusting</quote> phase in the beginning of <xref
|
|
|
-linkend="chapter-temporary-tools"/>, even though it looks to be
|
|
|
-reversed. In <xref linkend="chapter-temporary-tools"/>, the chain was
|
|
|
-guided from the host's <filename
|
|
|
-class="directory">/{,usr/}lib</filename> directories to the new
|
|
|
-<filename class="directory">/tools/lib</filename> directory. Now, the
|
|
|
-chain will be guided from that same <filename
|
|
|
-class="directory">/tools/lib</filename> directory to the LFS
|
|
|
-<filename class="directory">/{,usr/}lib</filename> directories.</para>
|
|
|
-
|
|
|
-<para>Start by adjusting the linker. The source and build directories
|
|
|
-from the second pass over Binutils were retained for this purpose.
|
|
|
-Install the adjusted linker by running the following command from
|
|
|
-within the <filename class="directory">binutils-build</filename>
|
|
|
-directory:</para>
|
|
|
+<para>Now that the final C libraries have been installed, it is time to adjust
|
|
|
+the toolchain again. The toolchain will be adjusted so that it will link any
|
|
|
+newly compiled program against these new libraries. This is the same process
|
|
|
+used in the <quote>Adjusting</quote> phase in the beginning of <xref
|
|
|
+linkend="chapter-temporary-tools"/>, but with the adjustments reversed. In <xref
|
|
|
+linkend="chapter-temporary-tools"/>, the chain was guided from the host's
|
|
|
+<filename class="directory">/{,usr/}lib</filename> directories to the new
|
|
|
+<filename class="directory">/tools/lib</filename> directory. Now, the chain will
|
|
|
+be guided from that same <filename class="directory">/tools/lib</filename>
|
|
|
+directory to the LFS <filename class="directory">/{,usr/}lib</filename>
|
|
|
+directories.</para>
|
|
|
+
|
|
|
+<para>Start by adjusting the linker. The source and build directories from the
|
|
|
+second pass of Binutils were retained for this purpose. Install the adjusted
|
|
|
+linker by running the following command from within the <filename
|
|
|
+class="directory">binutils-build</filename> directory:</para>
|
|
|
|
|
|
<screen><userinput>make -C ld INSTALL=/tools/bin/install install</userinput></screen>
|
|
|
|