aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass2-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-pass2-inst.xml')
-rw-r--r--chapter05/gcc-pass2-inst.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/chapter05/gcc-pass2-inst.xml b/chapter05/gcc-pass2-inst.xml
index e21cda452..ce88c062a 100644
--- a/chapter05/gcc-pass2-inst.xml
+++ b/chapter05/gcc-pass2-inst.xml
@@ -1,7 +1,11 @@
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
-<title>Installation of GCC</title>
+<title>Re-installation of GCC</title>
+
+<para>Unpack all three GCC tarballs in one and the same working directory.
+They will all unfold into a single <filename>gcc-&gcc-version;/</filename>
+subdir.</para>
<para>First correct two problems and make an essential adjustment:</para>
@@ -21,6 +25,9 @@ binaries created during the build will link against the new Glibc.</para>
<para><screen><userinput>mkdir ../gcc-build
cd ../gcc-build</userinput></screen></para>
+<para>Before starting to build GCC, remember to unset any environment
+variables that override the default optimization flags.</para>
+
<para>Now prepare GCC to be compiled:</para>
<para><screen><userinput>../gcc-&gcc-version;/configure --prefix=/stage1 \
@@ -36,7 +43,7 @@ cd ../gcc-build</userinput></screen></para>
as the compiler we're using to compile this GCC has been built from the exact
same sources.</para>
-<para>Test the package:</para>
+<para>Test the results:</para>
<para><screen><userinput>make -k check</userinput></screen></para>