diff options
Diffstat (limited to 'chapter06/readjusting.xml')
-rw-r--r-- | chapter06/readjusting.xml | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml index 786f3c234..5c056547e 100644 --- a/chapter06/readjusting.xml +++ b/chapter06/readjusting.xml @@ -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> |