source: chapter06/mpfr.xml@ 58c8823

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since 58c8823 was 58c8823, checked in by Krejzi <krejzi@…>, 10 years ago

Random fixes.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10478 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.8 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 <sect1info condition="script">
12 <productname>mpfr</productname>
13 <productnumber>&mpfr-version;</productnumber>
14 <address>&mpfr-url;</address>
15 </sect1info>
16
17 <title>MPFR-&mpfr-version;</title>
18
19 <indexterm zone="ch-system-mpfr">
20 <primary sortas="a-MPFR">MPFR</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The MPFR package contains functions for multiple precision
27 math.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&mpfr-ch6-sbu;</seg>
35 <seg>&mpfr-ch6-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of MPFR</title>
43
44 <para>Prepare MPFR for compilation:</para>
45
46<screen><userinput remap="configure">./configure --prefix=/usr \
47 --enable-thread-safe \
48 --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen>
49
50 <para>Compile the package:</para>
51
52<screen><userinput remap="make">make</userinput></screen>
53
54 <important>
55 <para>The test suite for MPFR in this section is considered critical.
56 Do not skip it under any circumstances.</para>
57 </important>
58
59 <para>Test the results and ensure that all tests passed:</para>
60
61<screen><userinput remap="test">make check</userinput></screen>
62
63 <para>Install the package:</para>
64
65<screen><userinput remap="install">make install</userinput></screen>
66
67 <para>Install the documentation:</para>
68
69<screen><userinput remap="make">make html
70</userinput><userinput remap="install">make install-html</userinput></screen>
71
72 </sect2>
73
74
75 <sect2 id="contents-mpfr" role="content">
76 <title>Contents of MPFR</title>
77
78 <segmentedlist>
79 <segtitle>Installed Libraries</segtitle>
80 <segtitle>Installed directory</segtitle>
81
82 <seglistitem>
83 <seg>libmpfr.{a,so}</seg>
84 <seg>/usr/share/doc/mpfr-&mpfr-version;</seg>
85 </seglistitem>
86 </segmentedlist>
87
88 <variablelist>
89 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
90 <?dbfo list-presentation="list"?>
91 <?dbhtml list-presentation="table"?>
92
93 <varlistentry id="libmpfr">
94 <term><filename class="libraryfile">libmpfr</filename></term>
95 <listitem>
96 <para>Contains multiple-precision math functions.</para>
97 <indexterm zone="ch-system-mpfr libmpfr">
98 <primary sortas="c-libmpfr">libmpfr</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 </variablelist>
104
105 </sect2>
106
107</sect1>
Note: See TracBrowser for help on using the repository browser.