[6cc0516] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-mpfr" role="wrap">
|
---|
| 9 | <?dbhtml filename="mpfr.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info condition="script">
|
---|
| 12 | <productname>mpfr</productname>
|
---|
| 13 | <productnumber>&mpfr-version;</productnumber>
|
---|
| 14 | <address>&mpfr-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>MPFR-&mpfr-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-mpfr">
|
---|
| 20 | <primary sortas="a-MPFR">MPFR</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>The MPFR package contains functions for multiple precision
|
---|
| 27 | math.</para>
|
---|
| 28 |
|
---|
| 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
| 32 |
|
---|
| 33 | <seglistitem>
|
---|
| 34 | <seg>&mpfr-ch6-sbu;</seg>
|
---|
| 35 | <seg>&mpfr-ch6-du;</seg>
|
---|
| 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
| 38 |
|
---|
| 39 | </sect2>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of MPFR</title>
|
---|
| 43 |
|
---|
[815b82d4] | 44 | <para>Apply a patch to fix a few bugs in MPFR:</para>
|
---|
| 45 |
|
---|
| 46 | <screen><userinput remap="pre">patch -Np1 -i ../&mpfr-fixes-patch;</userinput></screen>
|
---|
| 47 |
|
---|
[6cc0516] | 48 | <para>Prepare MPFR for compilation:</para>
|
---|
| 49 |
|
---|
[e48cb29] | 50 | <screen><userinput remap="configure">./configure --prefix=/usr --enable-thread-safe \
|
---|
| 51 | --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen>
|
---|
[6cc0516] | 52 |
|
---|
| 53 | <para>Compile the package:</para>
|
---|
| 54 |
|
---|
| 55 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 56 |
|
---|
| 57 | <important>
|
---|
| 58 | <para>The test suite for MPFR in this section is considered critical.
|
---|
| 59 | Do not skip it under any circumstances.</para>
|
---|
| 60 | </important>
|
---|
| 61 |
|
---|
[b728ca9] | 62 | <para>Test the results and ensure that all tests passed:</para>
|
---|
[6cc0516] | 63 |
|
---|
| 64 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
| 65 |
|
---|
| 66 | <para>Install the package:</para>
|
---|
| 67 |
|
---|
| 68 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
| 69 |
|
---|
[db61418] | 70 | <para>Install the documentation:</para>
|
---|
| 71 |
|
---|
| 72 | <screen><userinput remap="install">make html
|
---|
[e48cb29] | 73 | make install-html</userinput></screen>
|
---|
[db61418] | 74 |
|
---|
[6cc0516] | 75 | </sect2>
|
---|
| 76 |
|
---|
| 77 |
|
---|
| 78 | <sect2 id="contents-mpfr" role="content">
|
---|
| 79 | <title>Contents of MPFR</title>
|
---|
| 80 |
|
---|
| 81 | <segmentedlist>
|
---|
| 82 | <segtitle>Installed Libraries</segtitle>
|
---|
[fe05b08] | 83 | <segtitle>Installed directory</segtitle>
|
---|
[6cc0516] | 84 |
|
---|
| 85 | <seglistitem>
|
---|
[90aae6b] | 86 | <seg>libmpfr.{a,so}</seg>
|
---|
[fe05b08] | 87 | <seg>/usr/share/doc/mpfr-&mpfr-version;</seg>
|
---|
[6cc0516] | 88 | </seglistitem>
|
---|
| 89 | </segmentedlist>
|
---|
| 90 |
|
---|
| 91 | <variablelist>
|
---|
| 92 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 93 | <?dbfo list-presentation="list"?>
|
---|
| 94 | <?dbhtml list-presentation="table"?>
|
---|
| 95 |
|
---|
[90aae6b] | 96 | <varlistentry id="libmpfr">
|
---|
[5f7456b] | 97 | <term><filename class="libraryfile">libmpfr</filename></term>
|
---|
[6cc0516] | 98 | <listitem>
|
---|
| 99 | <para>Contains multiple-precision math functions.</para>
|
---|
[90aae6b] | 100 | <indexterm zone="ch-system-mpfr libmpfr">
|
---|
| 101 | <primary sortas="c-libmpfr">libmpfr</primary>
|
---|
[6cc0516] | 102 | </indexterm>
|
---|
| 103 | </listitem>
|
---|
| 104 | </varlistentry>
|
---|
| 105 |
|
---|
| 106 | </variablelist>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | </sect1>
|
---|