Author: randy
Date: 2008-10-13 07:32:41 -0600 (Mon, 13 Oct 2008)
New Revision: 8661

Modified:
   trunk/BOOK/appendices/dependencies.xml
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter05/chapter05.xml
   trunk/BOOK/chapter05/gcc-pass1.xml
   trunk/BOOK/chapter05/gcc-pass2.xml
Log:
Modified the Chapter 5 instructions so that instead of building the GMP and 
MPFR packages separately for GCC Pass2, they are built by GCC internally

Modified: trunk/BOOK/appendices/dependencies.xml
===================================================================
--- trunk/BOOK/appendices/dependencies.xml      2008-10-13 00:16:54 UTC (rev 
8660)
+++ trunk/BOOK/appendices/dependencies.xml      2008-10-13 13:32:41 UTC (rev 
8661)
@@ -486,9 +486,8 @@
 
         <seglistitem>
          <seg>Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC,
-         Gettext, Glibc, GMP (Chapter 5-Pass 2 and Chapter 6), Grep,
-         M4 (Chapter 5-Pass 1), Make, MPFR (Chapter 5-Pass 2 and Chapter 6),
-         Patch, Perl, Sed, Tar, and Texinfo</seg>
+         Gettext, Glibc, GMP (Chapter 6), Grep, M4 (Chapter 5), Make,
+         MPFR (Chapter 6), Patch, Perl, Sed, Tar, and Texinfo</seg>
         </seglistitem>
       </segmentedlist>
 

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2008-10-13 00:16:54 UTC (rev 8660)
+++ trunk/BOOK/chapter01/changelog.xml  2008-10-13 13:32:41 UTC (rev 8661)
@@ -41,6 +41,11 @@
       <para>2008-10-13</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Modified the Chapter 5 instructions so that instead
+          of building the GMP and MPFR packages separately for GCC Pass2, they
+          are built by GCC internally.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Added a configure option to the Chapter 6 Gettext
           instructions so that the documentation is installed in a versioned
           directory.</para>

Modified: trunk/BOOK/chapter05/chapter05.xml
===================================================================
--- trunk/BOOK/chapter05/chapter05.xml  2008-10-13 00:16:54 UTC (rev 8660)
+++ trunk/BOOK/chapter05/chapter05.xml  2008-10-13 13:32:41 UTC (rev 8661)
@@ -22,8 +22,8 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="tcl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="expect.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="dejagnu.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="gmp.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="mpfr.xml"/>
+  <!-- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="gmp.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="mpfr.xml"/> -->
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="gcc-pass2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; 
href="binutils-pass2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="ncurses.xml"/>

Modified: trunk/BOOK/chapter05/gcc-pass1.xml
===================================================================
--- trunk/BOOK/chapter05/gcc-pass1.xml  2008-10-13 00:16:54 UTC (rev 8660)
+++ trunk/BOOK/chapter05/gcc-pass1.xml  2008-10-13 13:32:41 UTC (rev 8661)
@@ -92,7 +92,7 @@
       <varlistentry>
         <term><parameter>--disable-shared</parameter></term>
         <listitem>
-          <para>This switch forces gcc to link its internal libraries
+          <para>This switch forces GCC to link its internal libraries
           statically. We do this to avoid possible issues with the host
           system.</para>
         </listitem>

Modified: trunk/BOOK/chapter05/gcc-pass2.xml
===================================================================
--- trunk/BOOK/chapter05/gcc-pass2.xml  2008-10-13 00:16:54 UTC (rev 8660)
+++ trunk/BOOK/chapter05/gcc-pass2.xml  2008-10-13 13:32:41 UTC (rev 8661)
@@ -124,6 +124,14 @@
     changes to the original files in case the command is inadvertently run 
twice.
     </para>
 
+    <para>As in the first build of GCC it requires the GMP and MPFR packages.
+    Unpack the tarballs and move them into the required directory names:</para>
+
+<screen><userinput remap="pre">tar -jxf ../mpfr-&mpfr-version;.tar.bz2
+mv mpfr-&mpfr-version; mpfr
+tar -jxf ../gmp-&gmp-version;.tar.bz2
+mv gmp-&gmp-version; gmp</userinput></screen>
+
     <para>Create a separate build directory again:</para>
 
 <screen><userinput remap="pre">mkdir -v ../gcc-build

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to