mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
4f26c54335
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5340 af4574ff-66df-0310-9fd7-8a98e5e911e0
134 lines
4.1 KiB
XML
134 lines
4.1 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.4/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 "60.8 MB">
|
|
<!ENTITY gmp-time "0.88 SBU (additional 0.81 SBU to run the testsuite)">
|
|
]>
|
|
|
|
<sect1 id="gmp" xreflabel="GMP-&gmp-version;">
|
|
<?dbhtml filename="gmp.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
<keywordset>
|
|
<keyword role="package">gmp-&gmp-version;.tar</keyword>
|
|
<keyword role="ftptdir">gmp</keyword>
|
|
</keywordset>
|
|
</sect1info>
|
|
|
|
<title>GMP-&gmp-version;</title>
|
|
|
|
<indexterm zone="gmp">
|
|
<primary sortas="a-GMP">GMP</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to GMP</title>
|
|
|
|
<para>The <application>GMP</application> package
|
|
contains math libraries. These have useful functions for arbitrary precision
|
|
arithmetic.</para>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<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>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of GMP</title>
|
|
|
|
<para>Install <application>GMP</application> by running
|
|
the following commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --enable-cxx --enable-mpbsd &&
|
|
make</userinput></screen>
|
|
|
|
<para>To test the results, issue: <command>make check</command>.
|
|
Owing to various reports of mis-compilations, the maintainer strongly
|
|
recommends running the test-suite and report any failures. The libraries
|
|
should not be used in a production environment if there are problems
|
|
running <command>make check</command>.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<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>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>None</seg>
|
|
<seg>libgmp.[so,a], libgmpxx.[so,a] and libmp.[so,a]</seg>
|
|
<seg>None</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libgmp">
|
|
<term><filename class='libraryfile'>libgmp.[so,a]</filename></term>
|
|
<listitem>
|
|
<para>contains functions to operate on signed integers, rational
|
|
numbers, and floating point numbers.</para>
|
|
<indexterm zone="gmp libgmp">
|
|
<primary sortas="c-libgmp">libgmp.[so,a]</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|