From 1e66abe82d665e624ee0801a81e73d8fd14b11b3 Mon Sep 17 00:00:00 2001 From: Greg Schafer Date: Sat, 4 Oct 2003 02:55:49 +0000 Subject: 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 --- chapter05/binutils-pass1-inst.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'chapter05') 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, "-all-static" is first passed to the Now prepare the linker for the "locking in" of Glibc later on: make -C ld clean -make -C ld LIB_PATH=/tools/lib +make -C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib The meaning of the make options: @@ -73,12 +73,13 @@ make -C ld LIB_PATH=/tools/lib to remove all the compiled files, but only in the ld subdirectory. --C ld LIB_PATH=/tools/lib: This option -rebuilds everything in the ld 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. +-C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib: +This option rebuilds everything in the ld 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. Do not yet remove the Binutils build and source directories. You -- cgit v1.2.3-54-g00ecf