source: BOOK/final-system/common/mpc.xml@ 418edd7

clfs-3.0.0-sysvinit sysvinit
Last change on this file since 418edd7 was 37e7f37, checked in by Chris Staub <chris@…>, 11 years ago

Generate and install MPC html docs

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[134074b]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-mpc" role="wrap">
9 <?dbhtml filename="mpc.html"?>
10
11 <title>MPC-&mpc-version;</title>
12
13 <indexterm zone="ch-system-mpc">
14 <primary sortas="a-MPC">MPC</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>MPC is a C library for the arithmetic of complex numbers with
21 arbitrarily high precision and correct rounding of the result.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of MPC</title>
27
28 <para os="a">Prepare MPC for compilation:</para>
29
30<screen os="b"><userinput>CC="gcc -isystem /usr/include" \
[b6831b6]31LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
[37e7f37]32 ./configure --prefix=/usr --docdir=/usr/share/doc/mpc-&mpc-version;</userinput></screen>
[134074b]33
34 <para os="c">Compile the package:</para>
35
36<screen os="d"><userinput>make</userinput></screen>
37
[37e7f37]38 <para os="e">Build the HTML documentation:</para>
39
40<screen os="f"><userinput>make html</userinput></screen>
41
42 <important os="g">
[134074b]43 <para>The test suite for MPC is considered
44 critical. Do not skip it under any circumstance.</para>
45 </important>
46
[37e7f37]47 <para os="h">Test the results:</para>
48
49<screen os="i"><userinput remap="test">make check</userinput></screen>
50
51 <para os="j">Install the package:</para>
[134074b]52
[37e7f37]53<screen os="k"><userinput>make install</userinput></screen>
[134074b]54
[37e7f37]55 <para os="l">Install the HTML documentation:</para>
[134074b]56
[37e7f37]57<screen os="m"><userinput>make install-html</userinput></screen>
[134074b]58
59 </sect2>
60
61 <sect2 id="contents-mpc" role="content">
62 <title>Contents of MPC</title>
63
64 <segmentedlist>
65 <segtitle>Installed libraries</segtitle>
[37e7f37]66 <segtitle>Installed directory</segtitle>
[134074b]67
68 <seglistitem>
69 <seg>libmpc.[a,so]</seg>
[37e7f37]70 <seg>/usr/share/doc/mpc-&mpc-version;</seg>
[134074b]71 </seglistitem>
72 </segmentedlist>
73
74 <variablelist>
75 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
76 <?dbfo list-presentation="list"?>
77 <?dbhtml list-presentation="table"?>
78
79 <varlistentry id="libmpc">
80 <term><filename class="libraryfile">libmpc</filename></term>
81 <listitem>
82 <para>The Multiple Precision Complex Library.</para>
83 <indexterm zone="ch-system-mpc libmpc">
84 <primary sortas="c-libmpc">libmpc</primary>
85 </indexterm>
86 </listitem>
87 </varlistentry>
88
89 </variablelist>
90
91 </sect2>
92
93</sect1>
Note: See TracBrowser for help on using the repository browser.