aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass2-inst.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2003-08-11 22:49:50 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2003-08-11 22:49:50 +0000
commitab6f1859dd20771fcf1a6b62ecd2fd8819666c26 (patch)
tree3e9bc15124c8f4d56b5459d70a27f86dda7b2364 /chapter05/gcc-pass2-inst.xml
parent775a2682d0633c2777b93207bd495708f9724258 (diff)
small things around coreutils and bugs #518 and #520
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2668 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>