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

Last change on this file since 0e9e889 was e1b2402, checked in by Jim Gifford <clfs@…>, 16 years ago

GCC and Binutils Updates to Embedded

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