r9287 - in trunk/BOOK: chapter01 chapter06

ken at linuxfromscratch.org ken at linuxfromscratch.org
Sun May 23 17:41:00 PDT 2010


Author: ken
Date: 2010-05-23 18:41:00 -0600 (Sun, 23 May 2010)
New Revision: 9287

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/gmp.xml
Log:
Reword the gmp note (ABI is not part of CFLAGS, and now that we also build for x86_64 it only applies to 32-bit builds).  Fixes #2648.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2010-05-23 18:23:16 UTC (rev 9286)
+++ trunk/BOOK/chapter01/changelog.xml	2010-05-24 00:41:00 UTC (rev 9287)
@@ -40,6 +40,11 @@
       <para>2010-05-23</para>
       <itemizedlist>
         <listitem>
+          <para>[ken] - Reword the ABI note in gmp (chapter06) to correct
+	  it, and to stress that it is for 32-bit. Fixes
+	  <ulink url="&lfs-ticket-root;2648">#2648</ulink></para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Add a patch to fix some internal problems 
           in Man-DB when viewing some pages. Thanks to William Immendorf
           for posting the patch.  Fixes

Modified: trunk/BOOK/chapter06/gmp.xml
===================================================================
--- trunk/BOOK/chapter06/gmp.xml	2010-05-23 18:23:16 UTC (rev 9286)
+++ trunk/BOOK/chapter06/gmp.xml	2010-05-24 00:41:00 UTC (rev 9287)
@@ -42,12 +42,13 @@
     <title>Installation of GMP</title>
 
     <note>
-      <para>If you have a CPU which is capable of running 64-bit code
-      and you have specified <envar>CFLAGS</envar> in the environment,
-      the configure script will attempt to configure for 64-bits and fail.
-      Avoid this by adding <parameter>ABI=32</parameter> to the
-      <envar>CFLAGS</envar> variable for the duration of the configure
-      command below, then remove it afterwards.</para>
+      <para>If you are building for 32-bit x86, but you have a CPU which is
+      capable of running 64-bit code <emphasis>and</emphasis> you have specified
+      <envar>CFLAGS</envar> in the environment, the configure script will
+      attempt to configure for 64-bits and fail.
+      Avoid this by invoking the configure command below with
+      <screen><userinput><parameter>ABI=32</parameter>  ./configure ...</userinput>
+      </screen></para>
     </note>
 
     <para>Prepare GMP for compilation:</para>




More information about the lfs-book mailing list