remove an old note for file
[linux_from_scratch.git] / BOOK / chapter06 / make.xml
blobcf0dbce18aac3703573a3067c6c7e864fb77927d
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 <sect1 id="ch-tools-make" role="wrap">
8   <?dbhtml filename="make.html"?>
10   <sect1info condition="script">
11     <productname>make</productname>
12     <productnumber>&make-version;</productnumber>
13     <address>&make-url;</address>
14   </sect1info>
16   <title>Make-&make-version;</title>
18   <indexterm zone="ch-tools-make">
19     <primary sortas="a-Make">Make</primary>
20     <secondary>tools</secondary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
27     href="../chapter08/make.xml"
28     xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
30     <segmentedlist>
31       <segtitle>&buildtime;</segtitle>
32       <segtitle>&diskspace;</segtitle>
34       <seglistitem>
35         <seg>&make-tmp-sbu;</seg>
36         <seg>&make-tmp-du;</seg>
37       </seglistitem>
38     </segmentedlist>
40   </sect2>
42   <sect2 role="installation">
43     <title>Installation of Make</title>
45     <para>Prepare Make for compilation:</para>
47 <screen><userinput remap="configure">./configure --prefix=/usr   \
48             --without-guile \
49             --host=$LFS_TGT \
50             --build=$(build-aux/config.guess)</userinput></screen>
52     <variablelist>
53       <title>The meaning of the new configure option:</title>
55       <varlistentry>
56         <term><parameter>--without-guile</parameter></term>
57         <listitem>
58           <para>Although we are cross-compiling, configure tries to use
59           guile from the build host if it finds it. This makes compilation
60           fail, so this switch prevents using it.</para>
61         </listitem>
62       </varlistentry>
63     </variablelist>
65     <para>Compile the package:</para>
67 <screen><userinput remap="make">make</userinput></screen>
69     <para>Install the package:</para>
71 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
73   </sect2>
75   <sect2 role="content">
76     <title/>
78     <para>Details on this package are located in
79     <xref linkend="contents-make" role="."/></para>
81   </sect2>
83 </sect1>