aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gmp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gmp.xml')
-rw-r--r--chapter06/gmp.xml42
1 files changed, 37 insertions, 5 deletions
diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml
index ff764b36f..9069aea72 100644
--- a/chapter06/gmp.xml
+++ b/chapter06/gmp.xml
@@ -45,6 +45,18 @@
<screen><userinput remap="configure">./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen>
+ <variablelist>
+ <title>The meaning of the new configure option:</title>
+
+ <varlistentry>
+ <term><parameter>--enable-cxx</parameter></term>
+ <listitem>
+ <para>This parameter enables C++ support</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
@@ -77,7 +89,7 @@ cp -v doc/{isa_abi_headache,configuration} doc/*.html \
<segtitle>Installed Libraries</segtitle>
<seglistitem>
- <seg>gmp.so</seg>
+ <seg>libgmp.{a,so}, libgmpxx.{a,so}, and libmp.{a,so}</seg>
</seglistitem>
</segmentedlist>
@@ -86,12 +98,32 @@ cp -v doc/{isa_abi_headache,configuration} doc/*.html \
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
- <varlistentry id="gmp">
- <term><command>gmp</command></term>
+ <varlistentry id="libgmp">
+ <term><command>libgmp</command></term>
<listitem>
<para>Contains precision math functions.</para>
- <indexterm zone="ch-system-gmp gmp">
- <primary sortas="c-gmp">gmp</primary>
+ <indexterm zone="ch-system-gmp libgmp">
+ <primary sortas="c-libgmp">libgmp</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="libgmpxx">
+ <term><command>libgmpxx</command></term>
+ <listitem>
+ <para>Contains C++ precision math functions.</para>
+ <indexterm zone="ch-system-gmp libgmpxx">
+ <primary sortas="c-libgmpxx">libgmpxx</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="libmp">
+ <term><command>libmp</command></term>
+ <listitem>
+ <para>Contains the Berkeley MP math functions.</para>
+ <indexterm zone="ch-system-gmp libmp">
+ <primary sortas="c-libmp">libmp</primary>
</indexterm>
</listitem>
</varlistentry>