浏览代码

I finally got around to the note about ABI=32.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8745 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Ken Moffat 16 年之前
父节点
当前提交
e4eb4cce86
共有 3 个文件被更改,包括 23 次插入2 次删除
  1. 11 0
      chapter01/changelog.xml
  2. 10 0
      chapter06/gmp.xml
  3. 2 2
      general.ent

+ 11 - 0
chapter01/changelog.xml

@@ -36,6 +36,17 @@
     </listitem>
 
 -->
+    <listitem>
+      <para>2008-11-20</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Added note to gmp about CFLAGS on 64-bit-capable
+          machines.  Reported by Tobias Gasser, thanks to Greg Schafer for
+	  the analysis.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2008-11-13</para>
       <itemizedlist>

+ 10 - 0
chapter06/gmp.xml

@@ -41,6 +41,16 @@
   <sect2 role="installation">
     <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>
+    </note>
+
+    <para>Prepare Zlib for compilation:</para>
     <para>Prepare GMP for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen>

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20081118">
-<!ENTITY releasedate "November 18, 2008">
+<!ENTITY version "SVN-20081120">
+<!ENTITY releasedate "November 20, 2008">
 <!ENTITY copyrightdate "1999-2008"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone "7.0">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->