Update to check-0.15.2
[linux_from_scratch.git] / BOOK / chapter08 / mpc.xml
blobad46b7e4306af0ea747e911632aa6e5d820e55cb
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 ]>
8 <sect1 id="ch-system-mpc" role="wrap">
9   <?dbhtml filename="mpc.html"?>
11   <sect1info condition="script">
12     <productname>mpc</productname>
13     <productnumber>&mpc-version;</productnumber>
14     <address>&mpc-url;</address>
15   </sect1info>
17   <title>MPC-&mpc-version;</title>
19   <indexterm zone="ch-system-mpc">
20     <primary sortas="a-MPC">MPC</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <para>The MPC package contains a library for the arithmetic of complex
27     numbers with arbitrarily high precision and correct rounding of the
28     result.</para>
30     <segmentedlist>
31       <segtitle>&buildtime;</segtitle>
32       <segtitle>&diskspace;</segtitle>
34       <seglistitem>
35         <seg>&mpc-fin-sbu;</seg>
36         <seg>&mpc-fin-du;</seg>
37       </seglistitem>
38     </segmentedlist>
40   </sect2>
42   <sect2 role="installation">
43     <title>Installation of MPC</title>
45     <para>Prepare MPC for compilation:</para>
47 <screen><userinput remap="configure">./configure --prefix=/usr    \
48             --disable-static \
49             --docdir=/usr/share/doc/mpc-&mpc-version;</userinput></screen>
51     <para>Compile the package and generate the HTML documentation:</para>
53 <screen><userinput remap="make">make
54 make html</userinput></screen>
56     <para>To test the results, issue:</para>
58 <screen><userinput remap="test">make check</userinput></screen>
60     <para>Install the package and its documentation:</para>
62 <screen><userinput remap="install">make install
63 make install-html</userinput></screen>
65   </sect2>
68   <sect2 id="contents-mpc" role="content">
69     <title>Contents of MPC</title>
71     <segmentedlist>
72       <segtitle>Installed Libraries</segtitle>
73       <segtitle>Installed Directory</segtitle>
75       <seglistitem>
76         <seg>libmpc.so</seg>
77         <seg>/usr/share/doc/mpc-&mpc-version;</seg>
78       </seglistitem>
79     </segmentedlist>
81     <variablelist>
82       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
83       <?dbfo list-presentation="list"?>
84       <?dbhtml list-presentation="table"?>
86       <varlistentry id="libmpc">
87         <term><filename class="libraryfile">libmpc</filename></term>
88         <listitem>
89           <para>Contains complex math functions</para>
90           <indexterm zone="ch-system-mpc libmpc">
91             <primary sortas="c-libmpc">libmpc</primary>
92           </indexterm>
93         </listitem>
94       </varlistentry>
96     </variablelist>
98   </sect2>
100 </sect1>