Эх сурвалжийг харах

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
Jeremy Huntwork 18 жил өмнө
parent
commit
b484748ebb

+ 11 - 0
chapter01/changelog.xml

@@ -36,6 +36,16 @@
     </listitem>
 -->
 
+    <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>
@@ -178,4 +188,5 @@
   </itemizedlist>
 
   <para>LFS 6.3 released August 28, 2007.</para>
+
 </sect1>

+ 7 - 1
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>
 

+ 10 - 1
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>

+ 2 - 1
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>