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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1c78387 was 9470388, checked in by Zack Winkles <eikniw@…>, 15 years ago

Add CLooG/PPL, and use it everything.

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