source: clfs-embedded/BOOK/cross-tools/common/mpfr.xml@ aa4fb01

Last change on this file since aa4fb01 was 3ec3099, checked in by Jim Gifford <clfs@…>, 16 years ago

Added Missing Files and Package Updates

  • Property mode set to 100644
File size: 2.2 KB
Line 
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
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>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
37 ./configure --prefix=/cross-tools --enable-shared \
38 --with-gmp=/cross-tools</userinput></screen>
39
40 <para os="c">Compile the package:</para>
41
42<screen os="d"><userinput>make</userinput></screen>
43
44 <para os="e">Install the package:</para>
45
46<screen os="f"><userinput>make install</userinput></screen>
47
48 </sect2>
49
50 <sect2 id="contents-mpfr" role="content">
51 <title>Contents of MPFR</title>
52
53 <segmentedlist>
54 <segtitle>Installed Libraries</segtitle>
55
56 <seglistitem>
57 <seg>libmpfr.[a,so]</seg>
58 </seglistitem>
59 </segmentedlist>
60
61 <variablelist>
62 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
63 <?dbfo list-presentation="list"?>
64 <?dbhtml list-presentation="table"?>
65
66 <varlistentry id="libmpfr">
67 <term><filename class="libraryfile">libmpfr</filename></term>
68 <listitem>
69 <para>The Multiple Precision Floating-Point Reliable Library.</para>
70 <indexterm zone="ch-cross-tools-mpfr libmpfr">
71 <primary sortas="b-libmpfr">libmpfr</primary>
72 </indexterm>
73 </listitem>
74 </varlistentry>
75
76 </variablelist>
77
78 </sect2>
79
80</sect1>
Note: See TracBrowser for help on using the repository browser.