[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] | 31 | LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ |
---|
[7cd7f99] | 32 | ./configure \ |
---|
| 33 | --prefix=/usr \ |
---|
| 34 | --docdir=/usr/share/doc/mpc-&mpc-version;</userinput></screen> |
---|
[134074b] | 35 | |
---|
| 36 | <para os="c">Compile the package:</para> |
---|
| 37 | |
---|
| 38 | <screen os="d"><userinput>make</userinput></screen> |
---|
| 39 | |
---|
[c3aff53] | 40 | <para os="e">Build the HTML documentation:</para> |
---|
| 41 | |
---|
| 42 | <screen os="f"><userinput>make html</userinput></screen> |
---|
| 43 | |
---|
[ac7dfaa] | 44 | <para os="g">Test the results:</para> |
---|
[134074b] | 45 | |
---|
[ac7dfaa] | 46 | <screen os="h"><userinput remap="test">make check</userinput></screen> |
---|
[c3aff53] | 47 | |
---|
[ac7dfaa] | 48 | <para os="i">Install the package:</para> |
---|
[c3aff53] | 49 | |
---|
[ac7dfaa] | 50 | <screen os="j"><userinput>make install</userinput></screen> |
---|
[134074b] | 51 | |
---|
[ac7dfaa] | 52 | <para os="k">Install the HTML documentation:</para> |
---|
[134074b] | 53 | |
---|
[ac7dfaa] | 54 | <screen os="l"><userinput>make install-html</userinput></screen> |
---|
[134074b] | 55 | |
---|
| 56 | </sect2> |
---|
| 57 | |
---|
| 58 | <sect2 id="contents-mpc" role="content"> |
---|
| 59 | <title>Contents of MPC</title> |
---|
| 60 | |
---|
| 61 | <segmentedlist> |
---|
| 62 | <segtitle>Installed libraries</segtitle> |
---|
[c3aff53] | 63 | <segtitle>Installed directory</segtitle> |
---|
[134074b] | 64 | |
---|
| 65 | <seglistitem> |
---|
| 66 | <seg>libmpc.[a,so]</seg> |
---|
[c3aff53] | 67 | <seg>/usr/share/doc/mpc-&mpc-version;</seg> |
---|
[134074b] | 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="libmpc"> |
---|
| 77 | <term><filename class="libraryfile">libmpc</filename></term> |
---|
| 78 | <listitem> |
---|
| 79 | <para>The Multiple Precision Complex Library.</para> |
---|
| 80 | <indexterm zone="ch-system-mpc libmpc"> |
---|
| 81 | <primary sortas="c-libmpc">libmpc</primary> |
---|
| 82 | </indexterm> |
---|
| 83 | </listitem> |
---|
| 84 | </varlistentry> |
---|
| 85 | |
---|
| 86 | </variablelist> |
---|
| 87 | |
---|
| 88 | </sect2> |
---|
| 89 | |
---|
| 90 | </sect1> |
---|