aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.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 /chapter06/gcc.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 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml22
1 files changed, 10 insertions, 12 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index afae54041..1be390ab4 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -45,21 +45,19 @@
<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</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">SED=sed \
-../gcc-&gcc-version;/configure \
- --prefix=/usr \
- --enable-languages=c,c++ \
- --disable-multilib \
- --disable-bootstrap \
- --with-system-zlib</userinput></screen>
+<screen><userinput remap="configure">SED=sed \
+../configure --prefix=/usr \
+ --enable-languages=c,c++ \
+ --disable-multilib \
+ --disable-bootstrap \
+ --with-system-zlib</userinput></screen>
<para>Note that for other languages, there are some prerequisites that
are not yet available. See the
@@ -106,7 +104,7 @@ cd ../gcc-build</userinput></screen>
<para>To receive a summary of the test suite results, run:</para>
-<screen><userinput remap="test">../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
+<screen><userinput remap="test">../contrib/test_summary</userinput></screen>
<para>For only the summaries, pipe the output through
<userinput>grep -A7 Summ</userinput>.</para>