source: BOOK/final-system/common/mpc.xml @ 134074b

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 134074b was 134074b, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Added MPC 0.8.2 for GCC.

  • Property mode set to 100644
File size: 2.2 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-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" \
31LDFLAGS="-Wl,-rpath-link,/lib" \
32./configure --prefix=/usr \
33    --with-gmp=/usr \
34    --with-mpc=/usr</userinput></screen>
35
36    <para os="c">Compile the package:</para>
37
38<screen os="d"><userinput>make</userinput></screen>
39
40    <important os="e">
41      <para>The test suite for MPC is considered
42      critical. Do not skip it under any circumstance.</para>
43    </important>
44
45    <para os="f">Test the results:</para>
46
47<screen os="g"><userinput>make check</userinput></screen>
48
49    <para os="h">Install the package:</para>
50
51<screen os="i"><userinput>make install</userinput></screen>
52
53  </sect2>
54
55  <sect2 id="contents-mpc" role="content">
56    <title>Contents of MPC</title>
57
58    <segmentedlist>
59      <segtitle>Installed libraries</segtitle>
60
61      <seglistitem>
62        <seg>libmpc.[a,so]</seg>
63      </seglistitem>
64    </segmentedlist>
65
66    <variablelist>
67      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
68      <?dbfo list-presentation="list"?>
69      <?dbhtml list-presentation="table"?>
70
71      <varlistentry id="libmpc">
72        <term><filename class="libraryfile">libmpc</filename></term>
73        <listitem>
74          <para>The Multiple Precision Complex Library.</para>
75          <indexterm zone="ch-system-mpc libmpc">
76            <primary sortas="c-libmpc">libmpc</primary>
77          </indexterm>
78        </listitem>
79      </varlistentry>
80
81    </variablelist>
82
83  </sect2>
84
85</sect1>
Note: See TracBrowser for help on using the repository browser.