aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2003-10-04 02:55:49 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2003-10-04 02:55:49 +0000
commit1e66abe82d665e624ee0801a81e73d8fd14b11b3 (patch)
tree8fc9ba3887ac1962ab17574b87f7dacaf1fd8b54 /chapter05
parente4df1fcaf7d8bbbd87c3a55a36a911eb3df7b0dc (diff)
Chapter 5 - Binutils Pass 1: Add extra LDFLAGS to ensure static rebuild of ld. Add some clarifying notes re package directory removal and POSIX shared memory.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2918 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/binutils-pass1-inst.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/chapter05/binutils-pass1-inst.xml b/chapter05/binutils-pass1-inst.xml
index 70b4abff8..6a2ee3850 100644
--- a/chapter05/binutils-pass1-inst.xml
+++ b/chapter05/binutils-pass1-inst.xml
@@ -64,7 +64,7 @@ strictly speaking, <userinput>"-all-static"</userinput> is first passed to the
<para>Now prepare the linker for the "locking in" of Glibc later on:</para>
<para><screen><userinput>make -C ld clean
-make -C ld LIB_PATH=/tools/lib</userinput></screen></para>
+make -C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib</userinput></screen></para>
<para>The meaning of the make options:</para>
@@ -73,12 +73,13 @@ make -C ld LIB_PATH=/tools/lib</userinput></screen></para>
to remove all the compiled files, but only in the <filename>ld</filename>
subdirectory.</para></listitem>
-<listitem><para><userinput>-C ld LIB_PATH=/tools/lib</userinput>: This option
-rebuilds everything in the <filename>ld</filename> subdirectory. Specifying the
-LIB_PATH makefile variable on the command line allows us to override the default
-value and have it point to our temporary tools location. The value of this
-variable specifies the linker's default library search path. You'll see how this
-preparation is utilised later on in the chapter.</para></listitem>
+<listitem><para><userinput>-C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib</userinput>:
+This option rebuilds everything in the <filename>ld</filename> subdirectory.
+Specifying the LIB_PATH makefile variable on the command line allows us to
+override the default value and have it point to our temporary tools location.
+The value of this variable specifies the linker's default library search path.
+You'll see how this preparation is utilised later on in the
+chapter.</para></listitem>
</itemizedlist>
<warning><para>Do not yet remove the Binutils build and source directories. You