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

Last change on this file since b0b1007 was b0b1007, checked in by Joe Ciccone <jciccone@…>, 13 years ago

Updated GMP to 5.0.1.

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[e1b2402]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.</para>
23
24  </sect2>
25
26  <sect2 role="installation">
27    <title>Installation of GMP</title>
28
29    <para os="a">Prepare GMP for compilation:</para>
30
[b0b1007]31<screen os="b"><userinput>CPPFLAGS=-fexceptions ./configure \
32    --prefix=${CLFS}/cross-tools</userinput></screen>
[e1b2402]33
34    <para os="c">Compile the package:</para>
35
36<screen os="d"><userinput>make</userinput></screen>
37
38    <para os="e">Install the package:</para>
39
40<screen os="f"><userinput>make install</userinput></screen>
41
42  </sect2>
43
44  <sect2 id="contents-gmp" role="content">
45    <title>Contents of GMP</title>
46
47    <segmentedlist>
48      <segtitle>Installed Libraries</segtitle>
49
50      <seglistitem>
51        <seg>libgmp.[a,so]</seg>
52      </seglistitem>
53    </segmentedlist>
54
55    <variablelist>
56      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
57      <?dbfo list-presentation="list"?>
58      <?dbhtml list-presentation="table"?>
59
60      <varlistentry id="libgmp">
61        <term><filename class="libraryfile">libgmp</filename></term>
62        <listitem>
63          <para>Contains the definitions for GNU multiple precision functions.</para>
64          <indexterm zone="ch-cross-tools-gmp libgmp">
65            <primary sortas="b-libgmp">libgmp</primary>
66          </indexterm>
67        </listitem>
68      </varlistentry>
69
70    </variablelist>
71
72  </sect2>
73
74</sect1>
Note: See TracBrowser for help on using the repository browser.