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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 08940008 was 8415b6e, checked in by Chris Staub <chris@…>, 15 years ago

Fixes for package list in index

  • Property mode set to 100644
File size: 3.2 KB
RevLine 
[6a043e2]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 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>GMP is a library for arithmetic on arbitrary precision integers,
21 rational numbers, and floating-point numbers.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of GMP</title>
27
[8cfdc18]28<!--
[be71788]29 <para os="p1">The following patch contains a number of updates to the
30 &gmp-version; branch by the GMP developers:</para>
31
32<screen os="p2"><userinput>patch -Np1 -i ../&gmp-branch_update-patch;</userinput></screen>
33
[8cfdc18]34-->
[6a043e2]35 <para os="a">Prepare GMP for compilation:</para>
36
[9470388]37<screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include" \
38 CXX="g++ -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/lib" \
39 ./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen>
[6a043e2]40
41 <para os="c">Compile the package:</para>
42
43<screen os="d"><userinput>make</userinput></screen>
44
45 <important os="e">
46 <para>The test suite for GMP is considered
47 critical. Do not skip it under any circumstance.</para>
48 </important>
49
50 <para os="f">Test the results:</para>
51
52<screen os="g"><userinput>make check</userinput></screen>
53
54 <para os="h">Install the package:</para>
55
56<screen os="i"><userinput>make install</userinput></screen>
57
58 </sect2>
59
60 <sect2 id="contents-gmp" role="content">
61 <title>Contents of GMP</title>
62
63 <segmentedlist>
[f4ab0fd]64 <segtitle>Installed libraries</segtitle>
[6a043e2]65
66 <seglistitem>
[188b6b2]67 <seg>libgmp.[a,so], libgmpxx.[a,so], libmp.[a,so]</seg>
[6a043e2]68 </seglistitem>
69 </segmentedlist>
70
71 <variablelist>
72 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
73 <?dbfo list-presentation="list"?>
74 <?dbhtml list-presentation="table"?>
75
76 <varlistentry id="libgmp">
77 <term><filename class="libraryfile">libgmp</filename></term>
78 <listitem>
79 <para>Contains the definitions for GNU multiple precision functions.</para>
80 <indexterm zone="ch-system-gmp libgmp">
[f4ab0fd]81 <primary sortas="c-libgmp">libgmp</primary>
[6a043e2]82 </indexterm>
83 </listitem>
84 </varlistentry>
85
86 <varlistentry id="libgmpxx">
87 <term><filename class="libraryfile">libgmpxx</filename></term>
88 <listitem>
89 <para>Contains a C++ class wrapper for GMP types.</para>
90 <indexterm zone="ch-system-gmp libgmpxx">
[f4ab0fd]91 <primary sortas="c-libgmpxx">libgmpxx</primary>
[6a043e2]92 </indexterm>
93 </listitem>
94 </varlistentry>
95
[188b6b2]96 <varlistentry id="libmp">
97 <term><filename class="libraryfile">libmp</filename></term>
98 <listitem>
99 <para>Contains the Berkeley MP compatibility library.</para>
100 <indexterm zone="ch-system-gmp libmp">
[f4ab0fd]101 <primary sortas="c-libmp">libmp</primary>
[188b6b2]102 </indexterm>
103 </listitem>
104 </varlistentry>
105
[6a043e2]106 </variablelist>
107
108 </sect2>
109
110</sect1>
Note: See TracBrowser for help on using the repository browser.