2024-01-18 19:53:23 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2020-06-07 21:16:00 +01:00
|
|
|
<sect1 id="ch-tools-make" role="wrap">
|
2006-02-05 13:17:43 +00:00
|
|
|
<?dbhtml filename="make.html"?>
|
|
|
|
|
2007-09-07 20:16:43 +01:00
|
|
|
<sect1info condition="script">
|
|
|
|
<productname>make</productname>
|
|
|
|
<productnumber>&make-version;</productnumber>
|
|
|
|
<address>&make-url;</address>
|
|
|
|
</sect1info>
|
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<title>Make-&make-version;</title>
|
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<indexterm zone="ch-tools-make">
|
2006-02-05 13:17:43 +00:00
|
|
|
<primary sortas="a-Make">Make</primary>
|
2020-06-07 21:16:00 +01:00
|
|
|
<secondary>tools</secondary>
|
2006-02-05 13:17:43 +00:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title/>
|
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../chapter08/make.xml"
|
|
|
|
xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<seglistitem>
|
2020-06-11 13:55:28 +01:00
|
|
|
<seg>&make-tmp-sbu;</seg>
|
|
|
|
<seg>&make-tmp-du;</seg>
|
2006-02-05 13:17:43 +00:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
</sect2>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Make</title>
|
2018-02-03 02:56:41 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<para>Prepare Make for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
|
|
|
--without-guile \
|
|
|
|
--host=$LFS_TGT \
|
|
|
|
--build=$(build-aux/config.guess)</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<variablelist>
|
|
|
|
<title>The meaning of the new configure option:</title>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>--without-guile</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Although we are cross-compiling, configure tries to use
|
|
|
|
guile from the build host if it finds it. This makes compilation
|
|
|
|
fail, so this switch prevents using it.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<para>Compile the package:</para>
|
2007-09-18 22:11:00 +01:00
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<para>Install the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
</sect2>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<sect2 role="content">
|
|
|
|
<title/>
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<para>Details on this package are located in
|
|
|
|
<xref linkend="contents-make" role="."/></para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|