source: general/genlib/gmp.xml@ 1039de3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1039de3 was 1039de3, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #3

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

  • Property mode set to 100644
File size: 4.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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 <?dbhtml filename="gmp.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">gmp-&gmp-version;.tar</keyword>
23 <keyword role="ftpdir">gmp</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>GMP-&gmp-version;</title>
28
29 <indexterm zone="gmp">
30 <primary sortas="a-GMP">GMP</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to GMP</title>
35
36 <para>The <application>GMP</application> package
37 contains math libraries. These have useful functions for arbitrary precision
38 arithmetic.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&gmp-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&gmp-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &gmp-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &gmp-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &gmp-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &gmp-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <para condition="html" role="usernotes">User Notes:
63 <ulink url="&blfs-wiki;/gmp"/></para>
64
65 </sect2>
66
67 <sect2 role="installation">
68 <title>Installation of GMP</title>
69
70 <para>Install <application>GMP</application> by running
71 the following commands:</para>
72
73<screen><userinput>./configure --prefix=/usr --enable-cxx --enable-mpbsd &amp;&amp;
74make</userinput></screen>
75
76 <para>To test the results, issue: <command>make check</command>.
77 Owing to various reports of mis-compilations, the maintainer strongly
78 recommends running the test-suite and report any failures. The libraries
79 should not be used in a production environment if there are problems
80 running <command>make check</command>.</para>
81
82 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
83
84<screen role="root"><userinput>make install</userinput></screen>
85
86 </sect2>
87
88 <sect2 role="commands">
89 <title>Command Explanations</title>
90
91 <para><parameter>--enable-cxx</parameter>: This parameter
92 enables C++ support by building the
93 <filename class="libraryfile">libgmpxx</filename> libraries.</para>
94
95 <para><parameter>--enable-mpbsd</parameter>: This parameter
96 enables building the Berkeley MP compatibility
97 (<filename class="libraryfile">libmp</filename>) libraries.</para>
98
99 </sect2>
100
101 <sect2 role="content">
102 <title>Contents</title>
103
104 <segmentedlist>
105 <segtitle>Installed Programs</segtitle>
106 <segtitle>Installed Libraries</segtitle>
107 <segtitle>Installed Directories</segtitle>
108
109 <seglistitem>
110 <seg>None</seg>
111 <seg>libgmp.{so,a}, libgmpxx.{so,a} and libmp.{so,a}</seg>
112 <seg>None</seg>
113 </seglistitem>
114 </segmentedlist>
115
116 <variablelist>
117 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
118 <?dbfo list-presentation="list"?>
119 <?dbhtml list-presentation="table"?>
120
121 <varlistentry id="libgmp">
122 <term><filename class='libraryfile'>libgmp.{so,a}</filename></term>
123 <listitem>
124 <para>contains functions to operate on signed integers, rational
125 numbers, and floating point numbers.</para>
126 <indexterm zone="gmp libgmp">
127 <primary sortas="c-libgmp">libgmp.{so,a}</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 </variablelist>
133
134 </sect2>
135
136</sect1>
Note: See TracBrowser for help on using the repository browser.