aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gmp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gmp.xml')
-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>