| 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="p1">The following patch contains a number of updates to the
 | 
|---|
| 30 |     &gmp-version; branch by the GMP developers:</para>
 | 
|---|
| 31 | 
 | 
|---|
| 32 | <screen os="p2"><userinput>patch -Np1 -i ../&gmp-branch_update-patch;</userinput></screen>
 | 
|---|
| 33 | 
 | 
|---|
| 34 |     <para os="a">Prepare GMP for compilation:</para>
 | 
|---|
| 35 | 
 | 
|---|
| 36 | <screen os="b"><userinput>./configure --prefix=/cross-tools \
 | 
|---|
| 37 |   --enable-mpbsd</userinput></screen>
 | 
|---|
| 38 | 
 | 
|---|
| 39 |     <para os="c">Compile the package:</para>
 | 
|---|
| 40 | 
 | 
|---|
| 41 | <screen os="d"><userinput>make</userinput></screen>
 | 
|---|
| 42 | 
 | 
|---|
| 43 |     <para os="e">Install the package:</para>
 | 
|---|
| 44 | 
 | 
|---|
| 45 | <screen os="f"><userinput>make install</userinput></screen>
 | 
|---|
| 46 | 
 | 
|---|
| 47 |   </sect2>
 | 
|---|
| 48 | 
 | 
|---|
| 49 |   <sect2 id="contents-gmp" role="content">
 | 
|---|
| 50 |     <title>Contents of GMP</title>
 | 
|---|
| 51 | 
 | 
|---|
| 52 |     <segmentedlist>
 | 
|---|
| 53 |       <segtitle>Installed Libraries</segtitle>
 | 
|---|
| 54 | 
 | 
|---|
| 55 |       <seglistitem>
 | 
|---|
| 56 |         <seg>libgmp.[a,so]</seg>
 | 
|---|
| 57 |       </seglistitem>
 | 
|---|
| 58 |     </segmentedlist>
 | 
|---|
| 59 | 
 | 
|---|
| 60 |     <variablelist>
 | 
|---|
| 61 |       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
 | 
|---|
| 62 |       <?dbfo list-presentation="list"?>
 | 
|---|
| 63 |       <?dbhtml list-presentation="table"?>
 | 
|---|
| 64 | 
 | 
|---|
| 65 |       <varlistentry id="libgmp">
 | 
|---|
| 66 |         <term><filename class="libraryfile">libgmp</filename></term>
 | 
|---|
| 67 |         <listitem>
 | 
|---|
| 68 |           <para>Contains the definitions for GNU multiple precision functions.</para>
 | 
|---|
| 69 |           <indexterm zone="ch-cross-tools-gmp libgmp">
 | 
|---|
| 70 |             <primary sortas="b-libgmp">libgmp</primary>
 | 
|---|
| 71 |           </indexterm>
 | 
|---|
| 72 |         </listitem>
 | 
|---|
| 73 |       </varlistentry>
 | 
|---|
| 74 | 
 | 
|---|
| 75 |     </variablelist>
 | 
|---|
| 76 | 
 | 
|---|
| 77 |   </sect2>
 | 
|---|
| 78 | 
 | 
|---|
| 79 | </sect1>
 | 
|---|