source: chapter05/make.xml@ 0b63a37

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 0b63a37 was 0b63a37, checked in by Pierre Labastie <pieere@…>, 4 years ago

Prevent "make" from using guile from the build host

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11835 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[9652249]7<sect1 id="ch-tools-make" role="wrap">
[7b82580]8 <?dbhtml filename="make.html"?>
[6370fa6]9
[e747759]10 <sect1info condition="script">
11 <productname>make</productname>
12 <productnumber>&make-version;</productnumber>
13 <address>&make-url;</address>
14 </sect1info>
15
[7b82580]16 <title>Make-&make-version;</title>
[81fd230]17
[7b82580]18 <indexterm zone="ch-tools-make">
19 <primary sortas="a-Make">Make</primary>
20 <secondary>tools</secondary>
21 </indexterm>
[673b0d8]22
[7b82580]23 <sect2 role="package">
24 <title/>
[673b0d8]25
[d9441360]26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[7b82580]27 href="../chapter06/make.xml"
28 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
[81fd230]29
[7b82580]30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
[73aedd1d]33
[7b82580]34 <seglistitem>
[e4a5635]35 <seg>&make-ch5-sbu;</seg>
36 <seg>&make-ch5-du;</seg>
[7b82580]37 </seglistitem>
38 </segmentedlist>
[73aedd1d]39
[7b82580]40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Make</title>
[869b0966]44
[7b82580]45 <para>Prepare Make for compilation:</para>
[73aedd1d]46
[efcb393]47<screen><userinput remap="configure">./configure --prefix=/usr \
[0b63a37]48 --without-guile \
[efcb393]49 --host=$LFS_TGT \
50 --build=$(build-aux/config.guess)</userinput></screen>
[73aedd1d]51
[0b63a37]52 <variablelist>
53 <title>The meaning of the new configure option:</title>
54
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>
64
[7b82580]65 <para>Compile the package:</para>
[73aedd1d]66
[0445a3d]67<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]68
[7b82580]69 <para>Install the package:</para>
[73aedd1d]70
[efcb393]71<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
[73aedd1d]72
[7b82580]73 </sect2>
[6370fa6]74
[7b82580]75 <sect2 role="content">
76 <title/>
[81fd230]77
[7b82580]78 <para>Details on this package are located in
79 <xref linkend="contents-make" role="."/></para>
80
81 </sect2>
[81fd230]82
[7b82580]83</sect1>
Note: See TracBrowser for help on using the repository browser.