aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-08-31 12:06:23 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-08-31 12:06:23 +0000
commitb484748ebbec0ce7a8331647acf6629840040480 (patch)
tree8e7eb224f9c77a1b45cdb042fe98779bc13d5e69
parent4d75f4edfb0eb9331e0cf8eb5b190e9bc312c1e5 (diff)
Add '--disable-bootstrap' to GCC pass 2 and chapter 6 GCC to achieve traditional LFS build methods with GCC 4.2.1
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8359 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml11
-rw-r--r--chapter05/gcc-pass1.xml8
-rw-r--r--chapter05/gcc-pass2.xml11
-rw-r--r--chapter06/gcc.xml3
4 files changed, 30 insertions, 3 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 4a8c63b53..9fd6f6646 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -37,6 +37,16 @@
-->
<listitem>
+ <para>2007-08-31</para>
+ <itemizedlist>
+ <listitem>
+ <para>[jhuntwork] - Add --disable-bootstrap flags to GCC pass 2 and chapter 6 GCC,
+ to achieve traditional LFS build methods with GCC 4.2.1.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2007-08-30</para>
<itemizedlist>
<listitem>
@@ -178,4 +188,5 @@
</itemizedlist>
<para>LFS 6.3 released August 28, 2007.</para>
+
</sect1>
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index 3b79d2971..966b17950 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -118,7 +118,13 @@ unset M64 WITHARCH</userinput></screen>
</variablelist>
- <para>Continue with compiling the package:</para>
+ <para>The following command will compile GCC not once, but several times. It
+ uses the programs compiled in a first round to compile itself a second time,
+ and then again a third time. It then compares these second and third compiles
+ to make sure it can reproduce itself flawlessly. This is called
+ <quote>bootstrapping</quote>. Building GCC in this way ensures that it was
+ compiled correctly and is now the default configuration for the released
+ package. Continue with compiling by running:</para>
<screen><userinput>make</userinput></screen>
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index 77d7a7037..f117ddfa2 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -147,7 +147,7 @@ esac</userinput></screen>
--enable-shared --enable-threads=posix \
--enable-__cxa_atexit --enable-languages=c,c++ \
--disable-libstdcxx-pch --disable-multilib \
- $WITHARCH
+ --disable-bootstrap $WITHARCH
unset WITHARCH</userinput></screen>
<variablelist>
@@ -203,6 +203,15 @@ unset WITHARCH</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>--disable-bootstrap</parameter></term>
+ <listitem>
+ <para>Bootstrapping the compiler is now the default for GCC. However,
+ our build method should provide us with a solid compiler without the
+ need to bootstrap each time.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Compile the package:</para>
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 1ba187316..c74a620fe 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -84,7 +84,8 @@ esac</userinput></screen>
--libexecdir=/usr/lib --enable-shared \
--enable-threads=posix --enable-__cxa_atexit \
--enable-clocale=gnu --enable-languages=c,c++ \
- --disable-multilib $WITHARCH
+ --disable-multilib --disable-bootstrap \
+ $WITHARCH
unset WITHARCH</userinput></screen>
<para>Compile the package:</para>