source: clfs-embedded/BOOK/cross-tools/common/mpc.xml@ 4d261af

Last change on this file since 4d261af was b6327d0, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Added new package: MPC.

  • Property mode set to 100644
File size: 2.0 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-cross-tools-mpc" role="wrap">
9 <?dbhtml filename="mpc.html"?>
10
11 <title>MPC-&mpc-version;</title>
12
13 <indexterm zone="ch-cross-tools-mpc">
14 <primary sortas="a-MPC">MPC</primary>
15 <secondary>cross-tools</secondary>
16 </indexterm>
17
18 <sect2 role="package">
19 <title/>
20
21 <para>MPC is a C library for the arithmetic of complex numbers with
22 arbitrarily high precision and correct rounding of the result.</para>
23
24 </sect2>
25
26 <sect2 role="installation">
27 <title>Installation of MPC</title>
28
29 <para os="a">Prepare MPC for compilation:</para>
30
31<screen os="b"><userinput>LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
32 ./configure --prefix=${CLFS}/cross-tools \
33 --with-gmp=${CLFS}/cross-tools \
34 --with-mpfr=${CLFS}/cross-tools</userinput></screen>
35
36 <para os="c">Compile the package:</para>
37
38<screen os="d"><userinput>make</userinput></screen>
39
40 <para os="e">Install the package:</para>
41
42<screen os="f"><userinput>make install</userinput></screen>
43
44 </sect2>
45
46 <sect2 id="contents-mpc" role="content">
47 <title>Contents of MPC</title>
48
49 <segmentedlist>
50 <segtitle>Installed libraries</segtitle>
51
52 <seglistitem>
53 <seg>libmpc.[a,so]</seg>
54 </seglistitem>
55 </segmentedlist>
56
57 <variablelist>
58 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
59 <?dbfo list-presentation="list"?>
60 <?dbhtml list-presentation="table"?>
61
62 <varlistentry id="libmpc">
63 <term><filename class="libraryfile">libmpc</filename></term>
64 <listitem>
65 <para>The Multiple Precision Complex Library.</para>
66 <indexterm zone="ch-cross-tools-mpc libmpc">
67 <primary sortas="c-libmpc">libmpc</primary>
68 </indexterm>
69 </listitem>
70 </varlistentry>
71
72 </variablelist>
73
74 </sect2>
75
76</sect1>
Note: See TracBrowser for help on using the repository browser.