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">
8 <sect1 id="ch-system-mpfr" role="wrap">
9 <?dbhtml filename="mpfr.html"?>
11 <sect1info condition="script">
12 <productname>mpfr</productname>
13 <productnumber>&mpfr-version;</productnumber>
14 <address>&mpfr-url;</address>
17 <title>MPFR-&mpfr-version;</title>
19 <indexterm zone="ch-system-mpfr">
20 <primary sortas="a-MPFR">MPFR</primary>
23 <sect2 role="package">
26 <para>The MPFR package contains functions for multiple precision
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
34 <seg>&mpfr-ch6-sbu;</seg>
35 <seg>&mpfr-ch6-du;</seg>
41 <sect2 role="installation">
42 <title>Installation of MPFR</title>
44 <para>First, apply the following patch to fix various bugs that have been
45 addressed upstream:</para>
47 <screen><userinput remap="pre">patch -Np1 -i ../&mpfr-upstream-patch;</userinput></screen>
49 <para>Prepare MPFR for compilation:</para>
51 <screen><userinput remap="configure">./configure --prefix=/usr \
53 --enable-thread-safe \
54 --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen>
56 <para>Compile the package and generate the HTML documentation:</para>
58 <screen><userinput remap="make">make
59 make html</userinput></screen>
62 <para>The test suite for MPFR in this section is considered critical.
63 Do not skip it under any circumstances.</para>
66 <para>Test the results and ensure that all tests passed:</para>
68 <screen><userinput remap="test">make check</userinput></screen>
70 <para>Install the package and its documentation:</para>
72 <screen><userinput remap="install">make install
73 make install-html</userinput></screen>
78 <sect2 id="contents-mpfr" role="content">
79 <title>Contents of MPFR</title>
82 <segtitle>Installed Libraries</segtitle>
83 <segtitle>Installed directory</segtitle>
87 <seg>/usr/share/doc/mpfr-&mpfr-version;</seg>
92 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
93 <?dbfo list-presentation="list"?>
94 <?dbhtml list-presentation="table"?>
96 <varlistentry id="libmpfr">
97 <term><filename class="libraryfile">libmpfr</filename></term>
99 <para>Contains multiple-precision math functions</para>
100 <indexterm zone="ch-system-mpfr libmpfr">
101 <primary sortas="c-libmpfr">libmpfr</primary>