aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
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 /chapter06
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gmp.xml10
1 files changed, 10 insertions, 0 deletions
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>