Author: matthew
Date: 2010-08-03 14:00:28 -0600 (Tue, 03 Aug 2010)
New Revision: 9349

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter05/gcc-pass1.xml
   trunk/BOOK/chapter05/gcc-pass2.xml
Log:
Add parameters to prevent chapter 5 GCC builds linking to the host's copy of 
CLooG and PPL. Fixes #2723.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2010-08-03 19:59:24 UTC (rev 9348)
+++ trunk/BOOK/chapter01/changelog.xml  2010-08-03 20:00:28 UTC (rev 9349)
@@ -41,6 +41,12 @@
       <para>2010-08-03</para>
       <itemizedlist>
          <listitem>
+           <para>[matthew] - Add parameters to prevent chapter 5 GCC builds
+           from linking to the host system's CLooG and PPL libraries that will
+           not be present in chapter 6.  Fixes
+           <ulink url="&lfs-ticket-root;2723">#2723</ulink>.</para>
+         </listitem>
+         <listitem>
            <para>[matthew] - Upgrade to Linux-2.6.35. Fixes
            <ulink url="&lfs-ticket-root;2728">#2728</ulink>.</para>
          </listitem>

Modified: trunk/BOOK/chapter05/gcc-pass1.xml
===================================================================
--- trunk/BOOK/chapter05/gcc-pass1.xml  2010-08-03 19:59:24 UTC (rev 9348)
+++ trunk/BOOK/chapter05/gcc-pass1.xml  2010-08-03 20:00:28 UTC (rev 9349)
@@ -68,7 +68,8 @@
     --disable-decimal-float --disable-threads \
     --disable-libmudflap --disable-libssp \
     --disable-libgomp --enable-languages=c \
-    --with-gmp-include=$(pwd)/gmp 
--with-gmp-lib=$(pwd)/gmp/.libs</userinput></screen>
+    --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \
+    --without-ppl --without-cloog</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure options:</title>
@@ -122,6 +123,15 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><parameter>--without-ppl, --without-cloog</parameter></term>
+        <listitem>
+          <para>These switches prevent GCC from building against the PPL and
+          CLooG libraries which may be present on the host system, but will not
+          be available in the chroot environment.</para>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <para>Compile GCC by running:</para>

Modified: trunk/BOOK/chapter05/gcc-pass2.xml
===================================================================
--- trunk/BOOK/chapter05/gcc-pass2.xml  2010-08-03 19:59:24 UTC (rev 9348)
+++ trunk/BOOK/chapter05/gcc-pass2.xml  2010-08-03 20:00:28 UTC (rev 9349)
@@ -157,7 +157,8 @@
     --enable-__cxa_atexit --enable-languages=c,c++ \
     --disable-libstdcxx-pch --disable-multilib \
     --disable-bootstrap \
-    --with-gmp-include=$(pwd)/gmp 
--with-gmp-lib=$(pwd)/gmp/.libs</userinput></screen>
+    --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \
+    --without-ppl --without-cloog</userinput></screen>
 
     <variablelist>
       <title>The meaning of the new configure options:</title>

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