source: BOOK/final-system/common/mpfr.xml@ 7422eaa

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7422eaa was b6831b6, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Update the LDFLAGS in the final-system between the installation
of EGLIBC and the installation of GCC. This should fix build errors
in a few odd situations, but it is also correct now. Before /usr/lib*
was not being set in rpath-link, just /lib*.

  • Property mode set to 100644
File size: 2.3 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 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The MPFR library is a C library for multiple-precision floating-point
21 computations with correct rounding.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of MPFR</title>
27
28 <para os="a">Prepare MPFR for compilation:</para>
29
30<screen os="b"><userinput>CC="gcc -isystem /usr/include" \
31LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
32 ./configure --prefix=/usr --enable-shared \
33 --with-gmp=/usr</userinput></screen>
34
35 <para os="c">Compile the package:</para>
36
37<screen os="d"><userinput>make</userinput></screen>
38
39 <important os="e">
40 <para>The test suite for MPFR is considered
41 critical. Do not skip it under any circumstance.</para>
42 </important>
43
44 <para os="f">Test the results:</para>
45
46<screen os="g"><userinput>make check</userinput></screen>
47
48 <para os="h">Install the package:</para>
49
50<screen os="i"><userinput>make install</userinput></screen>
51
52 </sect2>
53
54 <sect2 id="contents-mpfr" role="content">
55 <title>Contents of MPFR</title>
56
57 <segmentedlist>
58 <segtitle>Installed libraries</segtitle>
59 <segtitle>Installed directory</segtitle>
60
61 <seglistitem>
62 <seg>libmpfr.[a,so]</seg>
63 <seg>/usr/share/doc/mpfr</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="c-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.