source: clfs-embedded/BOOK/cross-tools/common/gmp.xml @ 65257bb

Last change on this file since 65257bb 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.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-cross-tools-gmp" role="wrap">
9  <?dbhtml filename="gmp.html"?>
10
11  <title>GMP-&gmp-version;</title>
12
13  <indexterm zone="ch-cross-tools-gmp">
14    <primary sortas="a-GMP">GMP</primary>
15    <secondary>cross-tools</secondary>
16  </indexterm>
17
18  <sect2 role="package">
19    <title/>
20
21    <para>GMP is a library for arithmetic on arbitrary precision integers,
22    rational numbers, and floating-point numbers.  It is required in order to
23    build GCC.</para>
24
25  </sect2>
26
27  <sect2 role="installation">
28    <title>Installation of GMP</title>
29
30    <para os="a">Prepare GMP for compilation:</para>
31
32<screen os="b"><userinput>CPPFLAGS=-fexceptions ./configure \
33    --build=${CLFS_HOST} --prefix=${CLFS}/cross-tools</userinput></screen>
34
35    <para os="c">Compile the package:</para>
36
37<screen os="d"><userinput>make</userinput></screen>
38
39    <note os="e">
40      <para>To ensure GMP is compiled and functioning correctly, optionally run
41        the test suite:</para>
42
43<screen><userinput>make check</userinput></screen>
44    </note>
45
46    <para os="f">Install the package:</para>
47
48<screen os="g"><userinput>make install</userinput></screen>
49
50  </sect2>
51
52  <sect2 id="contents-gmp" role="content">
53    <title>Contents of GMP</title>
54
55    <segmentedlist>
56      <segtitle>Installed Libraries</segtitle>
57
58      <seglistitem>
59        <seg>libgmp.[a,so]</seg>
60      </seglistitem>
61    </segmentedlist>
62
63    <variablelist>
64      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
65      <?dbfo list-presentation="list"?>
66      <?dbhtml list-presentation="table"?>
67
68      <varlistentry id="libgmp">
69        <term><filename class="libraryfile">libgmp</filename></term>
70        <listitem>
71          <para>Contains the definitions for GNU multiple precision functions.</para>
72          <indexterm zone="ch-cross-tools-gmp libgmp">
73            <primary sortas="b-libgmp">libgmp</primary>
74          </indexterm>
75        </listitem>
76      </varlistentry>
77
78    </variablelist>
79
80  </sect2>
81
82</sect1>
Note: See TracBrowser for help on using the repository browser.