mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
86af98ab39
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3629 af4574ff-66df-0310-9fd7-8a98e5e911e0
99 lines
3.0 KiB
XML
99 lines
3.0 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY gmp-download-http "http://ftp.gnu.org/gnu/gmp/gmp-&gmp-version;.tar.bz2">
|
|
<!ENTITY gmp-download-ftp "ftp://ftp.gnu.org/gnu/gmp/gmp-&gmp-version;.tar.bz2">
|
|
<!ENTITY gmp-md5sum "0aa7d3b3f5b5ec5951e7dddd6f65e891">
|
|
<!ENTITY gmp-size "1.6 MB">
|
|
<!ENTITY gmp-buildsize "34 MB">
|
|
<!ENTITY gmp-time "0.91 SBU">
|
|
]>
|
|
|
|
<sect1 id="gmp" xreflabel="GMP-&gmp-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="gmp.html"?>
|
|
<title>GMP-&gmp-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application><acronym>GMP</acronym></application></title>
|
|
|
|
<para>The <application><acronym>GMP</acronym></application> package
|
|
contains math libraries. These have useful functions for arbitrary precision
|
|
arithmetic.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink
|
|
url="&gmp-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink
|
|
url="&gmp-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download MD5 sum: &gmp-md5sum;</para></listitem>
|
|
<listitem><para>Download size: &gmp-size;</para></listitem>
|
|
<listitem><para>Estimated disk space required:
|
|
&gmp-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time:
|
|
&gmp-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application><acronym>GMP</acronym></application></title>
|
|
|
|
<para>Install <application><acronym>GMP</acronym></application> by running
|
|
the following commands:
|
|
</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --enable-cxx \
|
|
--enable-mpbsd --enable-mpfr &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><parameter>--enable-cxx</parameter>: This parameter
|
|
enables C++ support by building the
|
|
<filename class="libraryfile">libgmpxx</filename> libraries.</para>
|
|
|
|
<para><parameter>--enable-mpbsd</parameter>: This parameter
|
|
enables building the Berkeley MP compatibility
|
|
(<filename class="libraryfile">libmp</filename>) libraries.</para>
|
|
|
|
<para><parameter>--enable-mpfr</parameter>: This parameter
|
|
enables building the Multiple Precision
|
|
Floating-Point Reliable (<filename class="libraryfile">libmpfr.a</filename>)
|
|
library.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application><acronym>GMP</acronym></application> package contains
|
|
<filename class="libraryfile">libgmp</filename> and
|
|
<filename class="libraryfile">libmp</filename> libraries.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>libgmp and libmp libraries</title>
|
|
<para><filename class="libraryfile">libgmp</filename> and
|
|
<filename class="libraryfile">libmp</filename> libraries contain functions to
|
|
operate on signed integers, rational numbers, and floating point
|
|
numbers.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|