Author: jhuntwork
Date: 2007-08-31 06:06:23 -0600 (Fri, 31 Aug 2007)
New Revision: 8359
Modified:
branches/jh/BOOK/chapter01/changelog.xml
branches/jh/BOOK/chapter05/gcc-pass1.xml
branches/jh/BOOK/chapter05/gcc-pass2.xml
branches/jh/BOOK/chapter06/gcc.xml
Log:
Add '--disable-bootstrap' to GCC pass 2 and chapter 6 GCC to achieve
traditional LFS build methods with GCC 4.2.1
Modified: branches/jh/BOOK/chapter01/changelog.xml
===================================================================
--- branches/jh/BOOK/chapter01/changelog.xml 2007-08-30 21:45:10 UTC (rev
8358)
+++ branches/jh/BOOK/chapter01/changelog.xml 2007-08-31 12:06:23 UTC (rev
8359)
@@ -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>
Modified: branches/jh/BOOK/chapter05/gcc-pass1.xml
===================================================================
--- branches/jh/BOOK/chapter05/gcc-pass1.xml 2007-08-30 21:45:10 UTC (rev
8358)
+++ branches/jh/BOOK/chapter05/gcc-pass1.xml 2007-08-31 12:06:23 UTC (rev
8359)
@@ -118,7 +118,13 @@
</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>
Modified: branches/jh/BOOK/chapter05/gcc-pass2.xml
===================================================================
--- branches/jh/BOOK/chapter05/gcc-pass2.xml 2007-08-30 21:45:10 UTC (rev
8358)
+++ branches/jh/BOOK/chapter05/gcc-pass2.xml 2007-08-31 12:06:23 UTC (rev
8359)
@@ -147,7 +147,7 @@
--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 @@
</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>
Modified: branches/jh/BOOK/chapter06/gcc.xml
===================================================================
--- branches/jh/BOOK/chapter06/gcc.xml 2007-08-30 21:45:10 UTC (rev 8358)
+++ branches/jh/BOOK/chapter06/gcc.xml 2007-08-31 12:06:23 UTC (rev 8359)
@@ -84,7 +84,8 @@
--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>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page