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 | |
---|
31 | <screen os="b"><userinput>CPPFLAGS=-fexceptions ./configure \ |
---|
32 | --build=${CLFS_HOST} --prefix=${CLFS}/cross-tools</userinput></screen> |
---|
33 | |
---|
34 | <para os="c">Compile the package:</para> |
---|
35 | |
---|
36 | <screen os="d"><userinput>make</userinput></screen> |
---|
37 | |
---|
38 | <note os="e"> |
---|
39 | <para>To ensure GMP is compiled and functioning correctly, optionally run |
---|
40 | the test suite:</para> |
---|
41 | |
---|
42 | <screen><userinput>make check</userinput></screen> |
---|
43 | </note> |
---|
44 | |
---|
45 | <para os="f">Install the package:</para> |
---|
46 | |
---|
47 | <screen os="g"><userinput>make install</userinput></screen> |
---|
48 | |
---|
49 | </sect2> |
---|
50 | |
---|
51 | <sect2 id="contents-gmp" role="content"> |
---|
52 | <title>Contents of GMP</title> |
---|
53 | |
---|
54 | <segmentedlist> |
---|
55 | <segtitle>Installed Libraries</segtitle> |
---|
56 | |
---|
57 | <seglistitem> |
---|
58 | <seg>libgmp.[a,so]</seg> |
---|
59 | </seglistitem> |
---|
60 | </segmentedlist> |
---|
61 | |
---|
62 | <variablelist> |
---|
63 | <bridgehead renderas="sect3">Short Descriptions</bridgehead> |
---|
64 | <?dbfo list-presentation="list"?> |
---|
65 | <?dbhtml list-presentation="table"?> |
---|
66 | |
---|
67 | <varlistentry id="libgmp"> |
---|
68 | <term><filename class="libraryfile">libgmp</filename></term> |
---|
69 | <listitem> |
---|
70 | <para>Contains the definitions for GNU multiple precision functions.</para> |
---|
71 | <indexterm zone="ch-cross-tools-gmp libgmp"> |
---|
72 | <primary sortas="b-libgmp">libgmp</primary> |
---|
73 | </indexterm> |
---|
74 | </listitem> |
---|
75 | </varlistentry> |
---|
76 | |
---|
77 | </variablelist> |
---|
78 | |
---|
79 | </sect2> |
---|
80 | |
---|
81 | </sect1> |
---|