source: clfs-embedded/BOOK/cross-tools/common/mpc.xml@ 90309a2

Last change on this file since 90309a2 was 65257bb, checked in by Andrew Bradford <andrew@…>, 11 years ago

gmp,mpc,mpfr: Indicate as prereqs for GCC

It wasn't made clear before that these must be present in order to build
GCC.

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