diff options
author | Greg Schafer <greg@linuxfromscratch.org> | 2003-10-02 01:14:47 +0000 |
---|---|---|
committer | Greg Schafer <greg@linuxfromscratch.org> | 2003-10-02 01:14:47 +0000 |
commit | 318e3c85876b968f02389f4e102131fe231cfe1c (patch) | |
tree | 30388e4e0d5ffcfced8c4076b34a5e3bc346776c /chapter06/adjustingtoolchain.xml | |
parent | a985250fa8dc17cf110a72a2d966efd1b91170d7 (diff) |
Chapter 6: Reinstate INSTALL=/tools/bin/install for linker adjustment command. Also remove now redundant install symlinks.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2915 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/adjustingtoolchain.xml')
-rw-r--r-- | chapter06/adjustingtoolchain.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/chapter06/adjustingtoolchain.xml b/chapter06/adjustingtoolchain.xml index 14ce79020..4a79ba2bb 100644 --- a/chapter06/adjustingtoolchain.xml +++ b/chapter06/adjustingtoolchain.xml @@ -12,11 +12,17 @@ source and build directories from the second pass over Binutils. 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</userinput></screen></para> +<para><screen><userinput>make -C ld INSTALL=/tools/bin/install install</userinput></screen></para> <para>From now on every compiled program will link <emphasis>only</emphasis> -against the libraries in <filename>/usr/lib</filename> and <filename>/lib -</filename>.</para> +against the libraries in <filename>/usr/lib</filename> and +<filename>/lib</filename>. The extra +<userinput>INSTALL=/tools/bin/install</userinput> is needed because the Makefile +created during the second pass still contains the reference to +<filename>/usr/bin/install</filename>, which we obviously haven't installed yet. +Some host distributions contain a <filename class="symlink">ginstall</filename> +symbolic link which takes precedence in the Makefile and thus can cause a +problem here. The above command takes care of this also.</para> <para>You can now remove the Binutils source and build directories.</para> |