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="p1">The following patch contains a number of updates to the
|
---|
30 | &mpfr-version; branch by the MPFR developers:</para>
|
---|
31 |
|
---|
32 | <screen os="p2"><userinput>patch -Np1 -i ../&mpfr-branch_update-patch;</userinput></screen>
|
---|
33 |
|
---|
34 | <para os="a">Prepare MPFR for compilation:</para>
|
---|
35 |
|
---|
36 | <screen os="b"><userinput>CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/lib" \
|
---|
37 | ./configure --prefix=/usr --enable-shared</userinput></screen>
|
---|
38 |
|
---|
39 | <para os="c">Compile the package:</para>
|
---|
40 |
|
---|
41 | <screen os="d"><userinput>make</userinput></screen>
|
---|
42 |
|
---|
43 | <important os="e">
|
---|
44 | <para>The test suite for MPFR is considered
|
---|
45 | critical. Do not skip it under any circumstance.</para>
|
---|
46 | </important>
|
---|
47 |
|
---|
48 | <para os="f">Test the results:</para>
|
---|
49 |
|
---|
50 | <screen os="g"><userinput>make check</userinput></screen>
|
---|
51 |
|
---|
52 | <para os="h">Install the package:</para>
|
---|
53 |
|
---|
54 | <screen os="i"><userinput>make install</userinput></screen>
|
---|
55 |
|
---|
56 | </sect2>
|
---|
57 |
|
---|
58 | <sect2 id="contents-mpfr" role="content">
|
---|
59 | <title>Contents of MPFR</title>
|
---|
60 |
|
---|
61 | <segmentedlist>
|
---|
62 | <segtitle>Installed Libraries</segtitle>
|
---|
63 |
|
---|
64 | <seglistitem>
|
---|
65 | <seg>libmpfr.[a,so]</seg>
|
---|
66 | </seglistitem>
|
---|
67 | </segmentedlist>
|
---|
68 |
|
---|
69 | <variablelist>
|
---|
70 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
71 | <?dbfo list-presentation="list"?>
|
---|
72 | <?dbhtml list-presentation="table"?>
|
---|
73 |
|
---|
74 | <varlistentry id="libmpfr">
|
---|
75 | <term><filename class="libraryfile">libmpfr</filename></term>
|
---|
76 | <listitem>
|
---|
77 | <para>The Multiple Precision Floating-Point Reliable Library.</para>
|
---|
78 | <indexterm zone="ch-system-mpfr libmpfr">
|
---|
79 | <primary sortas="b-libmpfr">libmpfr</primary>
|
---|
80 | </indexterm>
|
---|
81 | </listitem>
|
---|
82 | </varlistentry>
|
---|
83 |
|
---|
84 | </variablelist>
|
---|
85 |
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | </sect1>
|
---|