[e1b2402] | 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-cross-tools-mpfr" role="wrap">
|
---|
| 9 | <?dbhtml filename="mpfr.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>MPFR-&mpfr-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-cross-tools-mpfr">
|
---|
| 14 | <primary sortas="a-MPFR">MPFR</primary>
|
---|
| 15 | <secondary>cross-tools</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
|
---|
[65257bb] | 22 | computations with correct rounding. It is required in order to build GCC.
|
---|
| 23 | </para>
|
---|
[e1b2402] | 24 |
|
---|
| 25 | </sect2>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="installation">
|
---|
| 28 | <title>Installation of MPFR</title>
|
---|
| 29 |
|
---|
| 30 | <para os="a">Prepare MPFR for compilation:</para>
|
---|
| 31 |
|
---|
[85fc1b3] | 32 | <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
|
---|
[62fdf1a] | 33 | ./configure --prefix=${CLFS}/cross-tools \
|
---|
[85fc1b3] | 34 | --with-gmp=${CLFS}/cross-tools</userinput></screen>
|
---|
[e1b2402] | 35 |
|
---|
| 36 | <para os="c">Compile the package:</para>
|
---|
| 37 |
|
---|
| 38 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 39 |
|
---|
| 40 | <para os="e">Install the package:</para>
|
---|
| 41 |
|
---|
| 42 | <screen os="f"><userinput>make install</userinput></screen>
|
---|
| 43 |
|
---|
| 44 | </sect2>
|
---|
| 45 |
|
---|
| 46 | <sect2 id="contents-mpfr" role="content">
|
---|
| 47 | <title>Contents of MPFR</title>
|
---|
| 48 |
|
---|
| 49 | <segmentedlist>
|
---|
| 50 | <segtitle>Installed Libraries</segtitle>
|
---|
| 51 |
|
---|
| 52 | <seglistitem>
|
---|
| 53 | <seg>libmpfr.[a,so]</seg>
|
---|
| 54 | </seglistitem>
|
---|
| 55 | </segmentedlist>
|
---|
| 56 |
|
---|
| 57 | <variablelist>
|
---|
| 58 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 59 | <?dbfo list-presentation="list"?>
|
---|
| 60 | <?dbhtml list-presentation="table"?>
|
---|
| 61 |
|
---|
| 62 | <varlistentry id="libmpfr">
|
---|
| 63 | <term><filename class="libraryfile">libmpfr</filename></term>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>The Multiple Precision Floating-Point Reliable Library.</para>
|
---|
| 66 | <indexterm zone="ch-cross-tools-mpfr libmpfr">
|
---|
| 67 | <primary sortas="b-libmpfr">libmpfr</primary>
|
---|
| 68 | </indexterm>
|
---|
| 69 | </listitem>
|
---|
| 70 | </varlistentry>
|
---|
| 71 |
|
---|
| 72 | </variablelist>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | </sect1>
|
---|