source: general/genlib/gmp.xml@ 03ecb3f9

10.0 10.1 11.0 11.1 11.2 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 03ecb3f9 was 03ecb3f9, checked in by Randy McMurchy <randy@…>, 18 years ago

Updated build entities and added indexing tags to the GMP instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3634 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY gmp-download-http "http://ftp.gnu.org/gnu/gmp/gmp-&gmp-version;.tar.bz2">
8<!ENTITY gmp-download-ftp "ftp://ftp.gnu.org/gnu/gmp/gmp-&gmp-version;.tar.bz2">
9<!ENTITY gmp-md5sum "0aa7d3b3f5b5ec5951e7dddd6f65e891">
10<!ENTITY gmp-size "1.6 MB">
11<!ENTITY gmp-buildsize "60.8 MB">
12<!ENTITY gmp-time "0.88 SBU (additional 0.81 SBU to run the testsuite)">
13]>
14
15<sect1 id="gmp" xreflabel="GMP-&gmp-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="gmp.html"?>
21<title>GMP-&gmp-version;</title>
22<indexterm zone="gmp">
23<primary sortas="a-GMP">GMP</primary></indexterm>
24
25<sect2>
26<title>Introduction to <application><acronym>GMP</acronym></application></title>
27
28<para>The <application><acronym>GMP</acronym></application> package
29contains math libraries. These have useful functions for arbitrary precision
30arithmetic.</para>
31
32<sect3><title>Package information</title>
33<itemizedlist spacing='compact'>
34<listitem><para>Download (HTTP): <ulink
35url="&gmp-download-http;"/></para></listitem>
36<listitem><para>Download (FTP): <ulink
37url="&gmp-download-ftp;"/></para></listitem>
38<listitem><para>Download MD5 sum: &gmp-md5sum;</para></listitem>
39<listitem><para>Download size: &gmp-size;</para></listitem>
40<listitem><para>Estimated disk space required:
41&gmp-buildsize;</para></listitem>
42<listitem><para>Estimated build time:
43&gmp-time;</para></listitem></itemizedlist>
44</sect3>
45
46</sect2>
47
48<sect2>
49<title>Installation of <application><acronym>GMP</acronym></application></title>
50
51<para>Install <application><acronym>GMP</acronym></application> by running
52the following commands:
53</para>
54
55<screen><userinput><command>./configure --prefix=/usr --enable-cxx \
56 --enable-mpbsd --enable-mpfr &amp;&amp;
57make</command></userinput></screen>
58
59<para>Now, as the root user:</para>
60
61<screen><userinput role='root'><command>make install</command></userinput></screen>
62
63</sect2>
64
65<sect2>
66<title>Command explanations</title>
67
68<para><parameter>--enable-cxx</parameter>: This parameter
69enables C++ support by building the
70<filename class="libraryfile">libgmpxx</filename> libraries.</para>
71
72<para><parameter>--enable-mpbsd</parameter>: This parameter
73enables building the Berkeley MP compatibility
74(<filename class="libraryfile">libmp</filename>) libraries.</para>
75
76<para><parameter>--enable-mpfr</parameter>: This parameter
77enables building the Multiple Precision
78Floating-Point Reliable (<filename class="libraryfile">libmpfr.a</filename>)
79library.</para>
80
81</sect2>
82
83<sect2>
84<title>Contents</title>
85
86<segmentedlist>
87<segtitle>Installed Programs</segtitle>
88<segtitle>Installed Libraries</segtitle>
89<segtitle>Installed Directories</segtitle>
90
91<seglistitem>
92<seg>None</seg>
93<seg>libgmp.[so,a], libgmpxx.[so,a], libmp.[so,a] and libmpfr.a</seg>
94<seg>None</seg>
95</seglistitem>
96</segmentedlist>
97
98<variablelist>
99<bridgehead renderas="sect3">Short Descriptions</bridgehead>
100<?dbfo list-presentation="list"?>
101
102<varlistentry id="libgmp">
103<term><filename class='libraryfile'>libgmp.[so,a]</filename></term>
104<listitem><para>contains functions to operate on signed integers, rational
105numbers, and floating point numbers.</para>
106<indexterm zone="gmp libgmp">
107<primary sortas="c-libgmp">libgmp.[so,a]</primary>
108</indexterm></listitem>
109</varlistentry>
110</variablelist>
111
112</sect2>
113
114</sect1>
115
Note: See TracBrowser for help on using the repository browser.