source: clfs-sysroot/BOOK/final-system/common/gmp.xml @ b797f97

Last change on this file since b797f97 was 1440bf8, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Remove unneccessary lines.

  • Property mode set to 100644
File size: 3.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-system-gmp" role="wrap">
9  <?dbhtml filename="gmp.html"?>
10
11  <title>GMP-&gmp-version;</title>
12
13  <indexterm zone="ch-system-gmp">
14    <primary sortas="a-GMP">GMP</primary>
15    <secondary>temporary system</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  &env-target;
27
28  <sect2 role="installation">
29    <title>Installation of GMP</title>
30
31    <para os="p1">The following patch contains a number of updates to the
32    &gmp-version; branch by the GMP developers:</para>
33
34<screen os="p2"><userinput>patch -Np1 -i ../&gmp-branch_update-patch;</userinput></screen>
35
36    <para os="a">Prepare GMP for compilation:</para>
37
38<screen os="b"><userinput>./configure --prefix=/usr \
39    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
40    --enable-cxx --enable-mpbsd</userinput></screen>
41
42    <para os="c">Compile the package:</para>
43
44<screen os="d"><userinput>make</userinput></screen>
45
46    <para os="e">Install the package:</para>
47
48<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
49
50    <para os="g">At this time, Libtool does not support searching a sysroot
51    for libraries. Leaving the .la files in place will cause Libtool to look
52    in the wrong place for libraries. These files are not required for
53    linking on Linux. Remove them with the following command:</para>
54
55<screen os="h"><userinput>rm -v ${CLFS}/usr/lib/lib{gmp,gmpxx,mp}.la</userinput></screen>
56
57  </sect2>
58
59  <sect2 id="contents-gmp" role="content">
60    <title>Contents of GMP</title>
61
62    <segmentedlist>
63      <segtitle>Installed Libraries</segtitle>
64
65      <seglistitem>
66        <seg>libgmp.[a,so], libgmpxx[a,so]</seg>
67      </seglistitem>
68    </segmentedlist>
69
70    <variablelist>
71      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
72      <?dbfo list-presentation="list"?>
73      <?dbhtml list-presentation="table"?>
74
75      <varlistentry id="libgmp">
76        <term><filename class="libraryfile">libgmp</filename></term>
77        <listitem>
78          <para>Contains the definitions for GNU multiple precision functions.</para>
79          <indexterm zone="ch-system-gmp libgmp">
80            <primary sortas="b-libgmp">libgmp</primary>
81          </indexterm>
82        </listitem>
83      </varlistentry>
84
85      <varlistentry id="libgmpxx">
86        <term><filename class="libraryfile">libgmpxx</filename></term>
87        <listitem>
88          <para>Contains a C++ class wrapper for GMP types.</para>
89          <indexterm zone="ch-system-gmp libgmpxx">
90            <primary sortas="b-libgmpxx">libgmpxx</primary>
91          </indexterm>
92        </listitem>
93      </varlistentry>
94
95    </variablelist>
96
97  </sect2>
98
99</sect1>
Note: See TracBrowser for help on using the repository browser.