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

clfs-3.0.0-systemd systemd
Last change on this file since eda14c5 was 686839b, checked in by William Harrington <kb0iic@…>, 11 years ago

Add screen tags around userinput test commands and remap userinput for test commands as remap="test".

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[6a043e2]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
[8213adb]28 <para os="p1">Apply a patch with upstream fixes:</para>
29
30<screen os="p2"><userinput>patch -Np1 -i ../&mpfr-fixes-patch;</userinput></screen>
31
[6a043e2]32 <para os="a">Prepare MPFR for compilation:</para>
33
[b6831b6]34<screen os="b"><userinput>CC="gcc -isystem /usr/include" \
35LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
36 ./configure --prefix=/usr --enable-shared \
37 --with-gmp=/usr</userinput></screen>
[6a043e2]38
39 <para os="c">Compile the package:</para>
40
41<screen os="d"><userinput>make</userinput></screen>
42
43 <important os="e">
44 <para>The test suite for MPFR is considered
45 critical. Do not skip it under any circumstance.</para>
46 </important>
47
48 <para os="f">Test the results:</para>
49
[686839b]50<screen os="g"><userinput remap="test">make check</userinput></screen>
[6a043e2]51
52 <para os="h">Install the package:</para>
53
54<screen os="i"><userinput>make install</userinput></screen>
55
56 </sect2>
57
58 <sect2 id="contents-mpfr" role="content">
59 <title>Contents of MPFR</title>
60
61 <segmentedlist>
[f4ab0fd]62 <segtitle>Installed libraries</segtitle>
[61ad0b7f]63 <segtitle>Installed directory</segtitle>
[6a043e2]64
65 <seglistitem>
66 <seg>libmpfr.[a,so]</seg>
[61ad0b7f]67 <seg>/usr/share/doc/mpfr</seg>
[6a043e2]68 </seglistitem>
69 </segmentedlist>
70
71 <variablelist>
72 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
73 <?dbfo list-presentation="list"?>
74 <?dbhtml list-presentation="table"?>
75
76 <varlistentry id="libmpfr">
77 <term><filename class="libraryfile">libmpfr</filename></term>
78 <listitem>
79 <para>The Multiple Precision Floating-Point Reliable Library.</para>
80 <indexterm zone="ch-system-mpfr libmpfr">
[f4ab0fd]81 <primary sortas="c-libmpfr">libmpfr</primary>
[6a043e2]82 </indexterm>
83 </listitem>
84 </varlistentry>
85
86 </variablelist>
87
88 </sect2>
89
90</sect1>
Note: See TracBrowser for help on using the repository browser.