|
@@ -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>
|