source: general/genlib/gmp.xml@ dc94017e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 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 dc94017e was 6c76a22f, checked in by Igor Živković <igor@…>, 20 years ago

GMP: use configure switches for extended functionality by default.

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

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[52d29f7]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
[5af8bf73]7<!ENTITY gmp-download-http "http://ftp.gnu.org/gnu/gmp/gmp-&gmp-version;.tar.gz">
[52d29f7]8<!ENTITY gmp-download-ftp "ftp://ftp.gnu.org/gnu/gmp/gmp-&gmp-version;.tar.gz">
[5091d1a]9<!ENTITY gmp-size "2.2 MB">
10<!ENTITY gmp-buildsize "34 MB">
11<!ENTITY gmp-time "0.91 SBU">
[52d29f7]12]>
13
[971ca3d]14<sect1 id="gmp" xreflabel="GMP-&gmp-version;">
[a0f03b0]15<sect1info>
[5cd0959d]16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
[a0f03b0]18</sect1info>
[7f72cbf]19<?dbhtml filename="gmp.html"?>
[971ca3d]20<title>GMP-&gmp-version;</title>
[777e407]21
[52d29f7]22<sect2>
23<title>Introduction to <application><acronym>GMP</acronym></application></title>
[5af8bf73]24
[52d29f7]25<para>The <application><acronym>GMP</acronym></application> package
[5091d1a]26contains math libraries. These have useful functions for arbitrary precision
[52d29f7]27arithmetic.</para>
[5af8bf73]28
[52d29f7]29<sect3><title>Package information</title>
30<itemizedlist spacing='compact'>
31<listitem><para>Download (HTTP): <ulink
32url="&gmp-download-http;"/></para></listitem>
33<listitem><para>Download (FTP): <ulink
34url="&gmp-download-ftp;"/></para></listitem>
35<listitem><para>Download size: &gmp-size;</para></listitem>
[5091d1a]36<listitem><para>Estimated disk space required:
[52d29f7]37&gmp-buildsize;</para></listitem>
38<listitem><para>Estimated build time:
39&gmp-time;</para></listitem></itemizedlist>
40</sect3>
[5af8bf73]41
[52d29f7]42</sect2>
43
44<sect2>
45<title>Installation of <application><acronym>GMP</acronym></application></title>
[5af8bf73]46
47<para>Install <application><acronym>GMP</acronym></application> by running
48the following commands:
[52d29f7]49</para>
[5af8bf73]50
[6c76a22f]51<screen><userinput><command>./configure --prefix=/usr --enable-cxx \
52 --enable-mpbsd --enable-mpfr &amp;&amp;
[52d29f7]53make &amp;&amp;
54make install</command></userinput></screen>
[5af8bf73]55
[52d29f7]56</sect2>
57
[5091d1a]58<sect2>
59<title>Command explanations</title>
60
[6c76a22f]61<para><parameter>--enable-cxx</parameter>: This parameter
62enables C++ support by building the
[5091d1a]63<filename class="libraryfile">libgmpxx</filename> libraries.</para>
64
[6c76a22f]65<para><parameter>--enable-mpbsd</parameter>: This parameter
66enables building the Berkeley MP compatibility
[5091d1a]67(<filename class="libraryfile">libmp</filename>) libraries.</para>
68
[6c76a22f]69<para><parameter>--enable-mpfr</parameter>: This parameter
70enables building the Multiple Precision
[5091d1a]71Floating-Point Reliable (<filename class="libraryfile">libmpfr.a</filename>)
72library.</para>
73
74</sect2>
75
[52d29f7]76<sect2>
77<title>Contents</title>
[5af8bf73]78
79<para>The <application><acronym>GMP</acronym></application> package contains
[5091d1a]80<filename class="libraryfile">libgmp</filename> and
81<filename class="libraryfile">libmp</filename> libraries.</para>
[5af8bf73]82
[52d29f7]83</sect2>
[5af8bf73]84
[52d29f7]85<sect2><title>Description</title>
[5af8bf73]86
[5091d1a]87<sect3><title>libgmp and libmp libraries</title>
88<para><filename class="libraryfile">libgmp</filename> and
89<filename class="libraryfile">libmp</filename> libraries contain functions to
90operate on signed integers, rational numbers, and floating point
91numbers.</para></sect3>
[5af8bf73]92
[52d29f7]93</sect2>
[777e407]94
95</sect1>
[52d29f7]96
Note: See TracBrowser for help on using the repository browser.