aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/binutils-pass1.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/binutils-pass1.xml')
-rw-r--r--chapter05/binutils-pass1.xml21
1 files changed, 10 insertions, 11 deletions
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index decec8b6f..ec3861eea 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -52,11 +52,11 @@
linker and assembler to determine which of their own features to
enable.</para>
- <para>The Binutils documentation recommends building Binutils outside of the
- source directory in a dedicated build directory:</para>
+ <para>The Binutils documentation recommends building Binutils
+ in a dedicated build directory:</para>
-<screen><userinput remap="pre">mkdir -v ../binutils-build
-cd ../binutils-build</userinput></screen>
+<screen><userinput remap="pre">mkdir -v build
+cd build</userinput></screen>
<note>
<para>In order for the SBU values listed in the rest of the book
@@ -72,13 +72,12 @@ cd ../binutils-build</userinput></screen>
<para>Now prepare Binutils for compilation:</para>
-<screen><userinput remap="configure">../binutils-&binutils-version;/configure \
- --prefix=/tools \
- --with-sysroot=$LFS \
- --with-lib-path=/tools/lib \
- --target=$LFS_TGT \
- --disable-nls \
- --disable-werror</userinput></screen>
+<screen><userinput remap="configure">../configure --prefix=/tools \
+ --with-sysroot=$LFS \
+ --with-lib-path=/tools/lib \
+ --target=$LFS_TGT \
+ --disable-nls \
+ --disable-werror</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>