source: BOOK/final-system/common/gmp.xml @ af4f700

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since af4f700 was 6a043e2, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Upgrade to GCC 4.3.1.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-system-gmp" role="wrap">
9  <?dbhtml filename="gmp.html"?>
10
11  <title>GMP-&gmp-version;</title>
12
13  <indexterm zone="ch-system-gmp">
14    <primary sortas="a-GMP">GMP</primary>
15    <secondary>temporary system</secondary>
16  </indexterm>
17
18  <sect2 role="package">
19    <title/>
20
21    <para>GMP is a library for arithmetic on arbitrary precision integers,
22    rational numbers, and floating-point numbers.</para>
23
24  </sect2>
25
26  <sect2 role="installation">
27    <title>Installation of GMP</title>
28
29    <para os="a">Prepare GMP for compilation:</para>
30
31<screen os="b"><userinput>./configure --prefix=/usr \
32    --enable-cxx --enable-mpbsd</userinput></screen>
33
34    <para os="c">Compile the package:</para>
35
36<screen os="d"><userinput>make</userinput></screen>
37
38    <important os="e">
39      <para>The test suite for GMP is considered
40      critical. Do not skip it under any circumstance.</para>
41    </important>
42
43    <para os="f">Test the results:</para>
44
45<screen os="g"><userinput>make check</userinput></screen>
46
47    <para os="h">Install the package:</para>
48
49<screen os="i"><userinput>make install</userinput></screen>
50
51  </sect2>
52
53  <sect2 id="contents-gmp" role="content">
54    <title>Contents of GMP</title>
55
56    <segmentedlist>
57      <segtitle>Installed Libraries</segtitle>
58
59      <seglistitem>
60        <seg>libgmp.[a,so], libgmpxx[a,so]</seg>
61      </seglistitem>
62    </segmentedlist>
63
64    <variablelist>
65      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
66      <?dbfo list-presentation="list"?>
67      <?dbhtml list-presentation="table"?>
68
69      <varlistentry id="libgmp">
70        <term><filename class="libraryfile">libgmp</filename></term>
71        <listitem>
72          <para>Contains the definitions for GNU multiple precision functions.</para>
73          <indexterm zone="ch-system-gmp libgmp">
74            <primary sortas="b-libgmp">libgmp</primary>
75          </indexterm>
76        </listitem>
77      </varlistentry>
78
79      <varlistentry id="libgmpxx">
80        <term><filename class="libraryfile">libgmpxx</filename></term>
81        <listitem>
82          <para>Contains a C++ class wrapper for GMP types.</para>
83          <indexterm zone="ch-system-gmp libgmpxx">
84            <primary sortas="b-libgmpxx">libgmpxx</primary>
85          </indexterm>
86        </listitem>
87      </varlistentry>
88
89    </variablelist>
90
91  </sect2>
92
93</sect1>
Note: See TracBrowser for help on using the repository browser.