diff options
author | Greg Schafer <greg@linuxfromscratch.org> | 2003-09-17 09:57:52 +0000 |
---|---|---|
committer | Greg Schafer <greg@linuxfromscratch.org> | 2003-09-17 09:57:52 +0000 |
commit | d1391f03869269e3fa6717876a92e6f6ba13c0c8 (patch) | |
tree | 1c3c365e67c64e1c568ec1f091e2ca130d886e0e /chapter05 | |
parent | b920e4019adadb724acdac833e4d117211eac8fa (diff) |
Do "make -C ld install" instead of "make -C ld install-data-local" to install a whole new linker instead of just the new ldscripts.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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> |