aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2016-01-27 21:49:38 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2016-01-27 21:49:38 +0000
commitf1dd5475c93b2464957212d8e81b94d5b5af9630 (patch)
tree3bbe56582df3369e3cba8ded3acb77ab9009958c /chapter05/gcc-pass1.xml
parente408cb05608c2d009b2685f8302ef2a692c00266 (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/gcc-pass1.xml')
-rw-r--r--chapter05/gcc-pass1.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index da6ea0743..8015c1b50 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -111,15 +111,15 @@ done</userinput></screen>
<screen><userinput remap="pre">sed -i 's/if \((code.*))\)/if (\1 \&amp;\&amp; \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c</userinput></screen>
-->
- <para>The GCC documentation recommends building GCC outside of the
- source directory in a dedicated build directory:</para>
+ <para>The GCC documentation recommends building GCC
+ in a dedicated build directory:</para>
-<screen><userinput remap="pre">mkdir -v ../gcc-build
-cd ../gcc-build</userinput></screen>
+<screen><userinput remap="pre">mkdir -v build
+cd build</userinput></screen>
<para>Prepare GCC for compilation:</para>
-<screen><userinput remap="configure">../gcc-&gcc-version;/configure \
+<screen><userinput remap="configure">../configure \
--target=$LFS_TGT \
--prefix=/tools \
--with-glibc-version=2.11 \