[6a043e2] | 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 | <title>MPFR-&mpfr-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-mpfr">
|
---|
| 14 | <primary sortas="a-MPFR">MPFR</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The MPFR library is a C library for multiple-precision floating-point
|
---|
| 21 | computations with correct rounding.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of MPFR</title>
|
---|
| 27 |
|
---|
[8213adb] | 28 | <para os="p1">Apply a patch with upstream fixes:</para>
|
---|
| 29 |
|
---|
| 30 | <screen os="p2"><userinput>patch -Np1 -i ../&mpfr-fixes-patch;</userinput></screen>
|
---|
| 31 |
|
---|
[6a043e2] | 32 | <para os="a">Prepare MPFR for compilation:</para>
|
---|
| 33 |
|
---|
[b6831b6] | 34 | <screen os="b"><userinput>CC="gcc -isystem /usr/include" \
|
---|
[7cd7f99] | 35 | LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
|
---|
| 36 | ./configure \
|
---|
| 37 | --prefix=/usr \
|
---|
| 38 | --with-gmp=/usr \
|
---|
[04c3a53] | 39 | --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen>
|
---|
[6a043e2] | 40 |
|
---|
| 41 | <para os="c">Compile the package:</para>
|
---|
| 42 |
|
---|
| 43 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 44 |
|
---|
[ac7dfaa] | 45 | <para os="e">Test the results:</para>
|
---|
[6a043e2] | 46 |
|
---|
[ac7dfaa] | 47 | <screen os="f"><userinput remap="test">make check</userinput></screen>
|
---|
[6a043e2] | 48 |
|
---|
[ac7dfaa] | 49 | <para os="g">Install the package:</para>
|
---|
[6a043e2] | 50 |
|
---|
[ac7dfaa] | 51 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
[6a043e2] | 52 |
|
---|
| 53 | </sect2>
|
---|
| 54 |
|
---|
| 55 | <sect2 id="contents-mpfr" role="content">
|
---|
| 56 | <title>Contents of MPFR</title>
|
---|
| 57 |
|
---|
| 58 | <segmentedlist>
|
---|
[f4ab0fd] | 59 | <segtitle>Installed libraries</segtitle>
|
---|
[61ad0b7f] | 60 | <segtitle>Installed directory</segtitle>
|
---|
[6a043e2] | 61 |
|
---|
| 62 | <seglistitem>
|
---|
| 63 | <seg>libmpfr.[a,so]</seg>
|
---|
[c873165] | 64 | <seg>/usr/share/doc/mpfr-&mpfr-version;</seg>
|
---|
[6a043e2] | 65 | </seglistitem>
|
---|
| 66 | </segmentedlist>
|
---|
| 67 |
|
---|
| 68 | <variablelist>
|
---|
| 69 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 70 | <?dbfo list-presentation="list"?>
|
---|
| 71 | <?dbhtml list-presentation="table"?>
|
---|
| 72 |
|
---|
| 73 | <varlistentry id="libmpfr">
|
---|
| 74 | <term><filename class="libraryfile">libmpfr</filename></term>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>The Multiple Precision Floating-Point Reliable Library.</para>
|
---|
| 77 | <indexterm zone="ch-system-mpfr libmpfr">
|
---|
[f4ab0fd] | 78 | <primary sortas="c-libmpfr">libmpfr</primary>
|
---|
[6a043e2] | 79 | </indexterm>
|
---|
| 80 | </listitem>
|
---|
| 81 | </varlistentry>
|
---|
| 82 |
|
---|
| 83 | </variablelist>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | </sect1>
|
---|