diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/lockingglibc.xml | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/chapter05/lockingglibc.xml b/chapter05/lockingglibc.xml index 285de303c..e2214119e 100644 --- a/chapter05/lockingglibc.xml +++ b/chapter05/lockingglibc.xml @@ -4,23 +4,20 @@ <para>Now that the temporary C libraries have been installed, we want all the tools compiled in the rest of this chapter to be linked against these -libraries. To accomplish this, we need to adjust the linker's scripts and the -compiler's specs file.</para> +libraries. To accomplish this, we need to adjust the linker and the compiler's +specs file.</para> -<para>First install the adjusted linker scripts by running the following from -within the <filename class="directory">binutils-build</filename> -directory:</para> +<para>First install the adjusted linker by running the following from within +the <filename class="directory">binutils-build</filename> directory:</para> -<para><screen><userinput>make -C ld install-data-local</userinput></screen></para> +<para><screen><userinput>make -C ld install</userinput></screen></para> -<para>These scripts were adjusted a little while back, at the end of the first -pass of Binutils, and contain no mention of <filename>/lib</filename>, -<filename>/usr/lib</filename> or <filename>/usr/local/lib</filename>. -From this point onwards everything will link <emphasis>only</emphasis> -against the libraries in <filename>/tools/lib</filename>.</para> +<para>The linker was adjusted a little while back, at the end of the first +pass of Binutils. From this point onwards everything will link <emphasis>only +</emphasis> against the libraries in <filename>/tools/lib</filename>.</para> -<para>Now that the scripts are adjusted, you have to remove the Binutils -build and source directories.</para> +<para>Now that the adjusted linker is installed, you have to remove the +Binutils build and source directories.</para> <para>The next thing to do is to amend our GCC specs file so that it points to the new dynamic linker. A simple sed will accomplish this:</para> |