aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Moffat <ken@linuxfromscratch.org>2008-11-20 22:07:12 +0000
committerKen Moffat <ken@linuxfromscratch.org>2008-11-20 22:07:12 +0000
commite4eb4cce86846d9549d5c894658b6a486831623f (patch)
treec46807db956557f0f3ed317669c850afd95607b5
parent8399b374cd870cd35b6092d44b028b5cb41d5221 (diff)
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
-rw-r--r--chapter01/changelog.xml11
-rw-r--r--chapter06/gmp.xml10
-rw-r--r--general.ent4
3 files changed, 23 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 9b66c775d..824d81fae 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -37,6 +37,17 @@
-->
<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>
<listitem>
diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml
index a7b6fc7af..2832a13fb 100644
--- a/chapter06/gmp.xml
+++ b/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>
diff --git a/general.ent b/general.ent
index 60bcb45ad..ff024d2b5 100644
--- a/general.ent
+++ b/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}]" -->