aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/binutils-pass2-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/binutils-pass2-inst.xml')
-rw-r--r--chapter05/binutils-pass2-inst.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/chapter05/binutils-pass2-inst.xml b/chapter05/binutils-pass2-inst.xml
index 6184fc1ac..0f465ba12 100644
--- a/chapter05/binutils-pass2-inst.xml
+++ b/chapter05/binutils-pass2-inst.xml
@@ -17,6 +17,15 @@ cd ../binutils-build</userinput></screen></para>
<para><screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --with-lib-path=/tools/lib</userinput></screen></para>
+<para>The meaning of the new configure option:</para>
+
+<itemizedlist>
+<listitem><para><userinput>--with-lib-path=/tools/lib</userinput>: This tells
+the configure script to specify the default library search path. We don't want
+the library search path to contain library directories from the host
+system.</para></listitem>
+</itemizedlist>
+
<para>Before starting to build Binutils, remember to unset any environment
variables that override the default optimization flags.</para>