diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2016-01-27 21:49:38 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2016-01-27 21:49:38 +0000 |
commit | f1dd5475c93b2464957212d8e81b94d5b5af9630 (patch) | |
tree | 3bbe56582df3369e3cba8ded3acb77ab9009958c /chapter05/binutils-pass1.xml | |
parent | e408cb05608c2d009b2685f8302ef2a692c00266 (diff) |
Move external build directories into dedicated build directories inside the
source tree for binutils, gcc, and glibc.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10991 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/binutils-pass1.xml')
-rw-r--r-- | chapter05/binutils-pass1.xml | 21 |
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> |