diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/binutils-exp.xml | 9 | ||||
-rw-r--r-- | chapter05/binutils-inst.xml | 4 |
2 files changed, 2 insertions, 11 deletions
diff --git a/chapter05/binutils-exp.xml b/chapter05/binutils-exp.xml index 1f631d55f..a1a226d35 100644 --- a/chapter05/binutils-exp.xml +++ b/chapter05/binutils-exp.xml @@ -14,14 +14,5 @@ statically.</para> <para><userinput>LDFLAGS=-all-static:</userinput> Setting the variable LDFLAGS to the value -all-static causes binutils to be linked statically.</para> -<para><userinput>tooldir=$LFS/usr:</userinput> Normally, the tooldir (the -directory where the executables from binutils end up in) is set to -$(exec_prefix)/$(target_alias) which expands into, for example, -/usr/i686-pc-linux-gnu. Since we only build for our own system, we don't -need this target specific directory in $LFS/usr. That setup would be used -if the system was used to cross-compile (for example -compiling a package on the Intel machine that generates code that can be -executed on Apple PowerPC machines).</para> - </sect2> diff --git a/chapter05/binutils-inst.xml b/chapter05/binutils-inst.xml index 26d1fb232..460b8c8f3 100644 --- a/chapter05/binutils-inst.xml +++ b/chapter05/binutils-inst.xml @@ -14,8 +14,8 @@ warned.</para> <para><screen><userinput>mkdir ../binutils-build && cd ../binutils-build && ../binutils-&binutils-version;/configure --prefix=$LFS/static --disable-nls && -make tooldir=$LFS/static LDFLAGS=-all-static && -make tooldir=$LFS/static install</userinput></screen></para> +make LDFLAGS=-all-static && +make install</userinput></screen></para> </sect2> |