[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 | <secondary>temporary system</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
| 18 | <sect2 role="package">
|
---|
| 19 | <title/>
|
---|
| 20 |
|
---|
| 21 | <para>The MPFR library is a C library for multiple-precision floating-point
|
---|
| 22 | computations with correct rounding.</para>
|
---|
| 23 |
|
---|
| 24 | </sect2>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="installation">
|
---|
| 27 | <title>Installation of MPFR</title>
|
---|
| 28 |
|
---|
| 29 | <para os="a">Prepare MPFR for compilation:</para>
|
---|
| 30 |
|
---|
[4173cd9] | 31 | <screen os="b"><userinput>CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/lib" \
|
---|
[571d93f] | 32 | ./configure --prefix=/usr --enable-shared</userinput></screen>
|
---|
[6a043e2] | 33 |
|
---|
| 34 | <para os="c">Compile the package:</para>
|
---|
| 35 |
|
---|
| 36 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 37 |
|
---|
| 38 | <important os="e">
|
---|
| 39 | <para>The test suite for MPFR is considered
|
---|
| 40 | critical. Do not skip it under any circumstance.</para>
|
---|
| 41 | </important>
|
---|
| 42 |
|
---|
| 43 | <para os="f">Test the results:</para>
|
---|
| 44 |
|
---|
| 45 | <screen os="g"><userinput>make check</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | <para os="h">Install the package:</para>
|
---|
| 48 |
|
---|
| 49 | <screen os="i"><userinput>make install</userinput></screen>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2 id="contents-mpfr" role="content">
|
---|
| 54 | <title>Contents of MPFR</title>
|
---|
| 55 |
|
---|
| 56 | <segmentedlist>
|
---|
| 57 | <segtitle>Installed Libraries</segtitle>
|
---|
| 58 |
|
---|
| 59 | <seglistitem>
|
---|
| 60 | <seg>libmpfr.[a,so]</seg>
|
---|
| 61 | </seglistitem>
|
---|
| 62 | </segmentedlist>
|
---|
| 63 |
|
---|
| 64 | <variablelist>
|
---|
| 65 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 66 | <?dbfo list-presentation="list"?>
|
---|
| 67 | <?dbhtml list-presentation="table"?>
|
---|
| 68 |
|
---|
| 69 | <varlistentry id="libmpfr">
|
---|
| 70 | <term><filename class="libraryfile">libmpfr</filename></term>
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>The Multiple Precision Floating-Point Reliable Library.</para>
|
---|
| 73 | <indexterm zone="ch-system-mpfr libmpfr">
|
---|
| 74 | <primary sortas="b-libmpfr">libmpfr</primary>
|
---|
| 75 | </indexterm>
|
---|
| 76 | </listitem>
|
---|
| 77 | </varlistentry>
|
---|
| 78 |
|
---|
| 79 | </variablelist>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | </sect1>
|
---|