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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 03ecb3f9 was 03ecb3f9, checked in by Randy McMurchy <randy@…>, 19 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
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[7f76b96]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
[52d29f7]3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[85a135f]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">
[03ecb3f9]11<!ENTITY gmp-buildsize "60.8 MB">
12<!ENTITY gmp-time "0.88 SBU (additional 0.81 SBU to run the testsuite)">
[52d29f7]13]>
14
[971ca3d]15<sect1 id="gmp" xreflabel="GMP-&gmp-version;">
[a0f03b0]16<sect1info>
[5cd0959d]17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
[a0f03b0]19</sect1info>
[7f72cbf]20<?dbhtml filename="gmp.html"?>
[971ca3d]21<title>GMP-&gmp-version;</title>
[03ecb3f9]22<indexterm zone="gmp">
23<primary sortas="a-GMP">GMP</primary></indexterm>
[777e407]24
[52d29f7]25<sect2>
26<title>Introduction to <application><acronym>GMP</acronym></application></title>
[5af8bf73]27
[52d29f7]28<para>The <application><acronym>GMP</acronym></application> package
[5091d1a]29contains math libraries. These have useful functions for arbitrary precision
[52d29f7]30arithmetic.</para>
[5af8bf73]31
[52d29f7]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>
[85a135f]38<listitem><para>Download MD5 sum: &gmp-md5sum;</para></listitem>
[52d29f7]39<listitem><para>Download size: &gmp-size;</para></listitem>
[5091d1a]40<listitem><para>Estimated disk space required:
[52d29f7]41&gmp-buildsize;</para></listitem>
42<listitem><para>Estimated build time:
43&gmp-time;</para></listitem></itemizedlist>
44</sect3>
[5af8bf73]45
[52d29f7]46</sect2>
47
48<sect2>
49<title>Installation of <application><acronym>GMP</acronym></application></title>
[5af8bf73]50
51<para>Install <application><acronym>GMP</acronym></application> by running
52the following commands:
[52d29f7]53</para>
[5af8bf73]54
[6c76a22f]55<screen><userinput><command>./configure --prefix=/usr --enable-cxx \
56 --enable-mpbsd --enable-mpfr &amp;&amp;
[03ecb3f9]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>
[5af8bf73]62
[52d29f7]63</sect2>
64
[5091d1a]65<sect2>
66<title>Command explanations</title>
67
[6c76a22f]68<para><parameter>--enable-cxx</parameter>: This parameter
69enables C++ support by building the
[5091d1a]70<filename class="libraryfile">libgmpxx</filename> libraries.</para>
71
[6c76a22f]72<para><parameter>--enable-mpbsd</parameter>: This parameter
73enables building the Berkeley MP compatibility
[5091d1a]74(<filename class="libraryfile">libmp</filename>) libraries.</para>
75
[6c76a22f]76<para><parameter>--enable-mpfr</parameter>: This parameter
77enables building the Multiple Precision
[5091d1a]78Floating-Point Reliable (<filename class="libraryfile">libmpfr.a</filename>)
79library.</para>
80
81</sect2>
82
[52d29f7]83<sect2>
84<title>Contents</title>
[5af8bf73]85
[03ecb3f9]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>
[5af8bf73]111
[52d29f7]112</sect2>
[777e407]113
114</sect1>
[52d29f7]115
Note: See TracBrowser for help on using the repository browser.