aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
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>