Convert bootscripts and udev tarballs to xz
[linux_from_scratch.git] / chapter05 / gmp.xml
blob71931294b64c8ce38c6645f558b732652e6b9454
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 ]>
8 <sect1 id="ch-tools-gmp" role="wrap">
9   <?dbhtml filename="gmp.html"?>
11   <sect1info condition="script">
12     <productname>gmp</productname>
13     <productnumber>&gmp-version;</productnumber>
14     <address>&gmp-url;</address>
15   </sect1info>
17   <title>GMP-&gmp-version;</title>
19   <indexterm zone="ch-tools-gmp">
20     <primary sortas="a-GMP">GMP</primary>
21     <secondary>tools</secondary>
22   </indexterm>
24   <sect2 role="package">
25     <title/>
27     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
28     href="../chapter06/gmp.xml"
29     xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
31     <segmentedlist>
32       <segtitle>&buildtime;</segtitle>
33       <segtitle>&diskspace;</segtitle>
35       <seglistitem>
36         <seg>&gmp-ch5-sbu;</seg>
37         <seg>&gmp-ch5-du;</seg>
38       </seglistitem>
39     </segmentedlist>
41   </sect2>
43   <sect2 role="installation">
44     <title>Installation of GMP</title>
46     <para>Prepare GMP for compilation:</para>
48 <screen><userinput remap="configure">./configure --prefix=/tools --enable-mpbsd</userinput></screen>
50     <variablelist>
51       <title>The meaning of the configure option:</title>
53       <varlistentry>
54         <term><parameter>--enable-mpbsd</parameter></term>
55         <listitem>
56           <para>This builds the Berkeley MP compatibility library</para>
57         </listitem>
58       </varlistentry>
60     </variablelist>
62     <para>Compile the package:</para>
64 <screen><userinput remap="make">make</userinput></screen>
66     <para>To test the results, issue:</para>
68 <screen><userinput remap="test">make check</userinput></screen>
70     <para>Install the package:</para>
72 <screen><userinput remap="install">make install</userinput></screen>
74   </sect2>
76   <sect2 role="content">
77     <title/>
79     <para>Details on this package are located in
80     <xref linkend="contents-gmp" role="."/></para>
82   </sect2>
84 </sect1>