source: clfs-sysroot/BOOK/final-system/common/mpfr.xml@ b517233

Last change on this file since b517233 was 12e6567, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Added a sysroot wrapper.
Updated the build variables section of the book, each package uses its own.

  • Property mode set to 100644
File size: 2.6 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-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 &env-target;
27
28 <sect2 role="installation">
29 <title>Installation of MPFR</title>
30
31 <para os="p1">The following patch contains a number of updates to the
32 &mpfr-version; branch by the MPFR developers:</para>
33
34<screen os="p2"><userinput>patch -Np1 -i ../&mpfr-branch_update-patch;</userinput></screen>
35
36 <para os="a">Prepare MPFR for compilation:</para>
37
38<screen os="b"><userinput>./configure --prefix=/usr --enable-shared \
39 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
40 --with-gmp-lib=${CLFS}/usr/lib</userinput></screen>
41
42 <para os="c">Compile the package:</para>
43
44<screen os="d"><userinput>make</userinput></screen>
45
46 <para os="e">Install the package:</para>
47
48<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
49
50 <para os="g">At this time, libtool does not support searching a sysroot for libraries. Leaving the .la files in place will cause libtool to look in the wrong place for libraries. These files are not required for linking on linux. Remove them with the following command:</para>
51
52<screen os="h"><userinput>rm -v ${CLFS}/usr/lib/libmpfr.la</userinput></screen>
53
54 </sect2>
55
56 <sect2 id="contents-mpfr" role="content">
57 <title>Contents of MPFR</title>
58
59 <segmentedlist>
60 <segtitle>Installed Libraries</segtitle>
61
62 <seglistitem>
63 <seg>libmpfr.[a,so]</seg>
64 </seglistitem>
65 </segmentedlist>
66
67 <variablelist>
68 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
69 <?dbfo list-presentation="list"?>
70 <?dbhtml list-presentation="table"?>
71
72 <varlistentry id="libmpfr">
73 <term><filename class="libraryfile">libmpfr</filename></term>
74 <listitem>
75 <para>The Multiple Precision Floating-Point Reliable Library.</para>
76 <indexterm zone="ch-system-mpfr libmpfr">
77 <primary sortas="b-libmpfr">libmpfr</primary>
78 </indexterm>
79 </listitem>
80 </varlistentry>
81
82 </variablelist>
83
84 </sect2>
85
86</sect1>
Note: See TracBrowser for help on using the repository browser.