Changeset 6dfcfecc for chapter06/make.xml
- Timestamp:
- 03/31/2021 10:41:39 AM (3 years ago)
- Branches:
- ml-11.0, multilib, xry111/multilib
- Children:
- 7610848
- Parents:
- 811b5a39
- git-author:
- Thomas Trepl <thomas@…> (06/29/2020 07:55:01 AM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:39 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/make.xml
r811b5a39 r6dfcfecc 5 5 %general-entities; 6 6 ]> 7 8 <sect1 id="ch-system-make" role="wrap"> 7 <sect1 id="ch-tools-make" role="wrap"> 9 8 <?dbhtml filename="make.html"?> 10 9 … … 17 16 <title>Make-&make-version;</title> 18 17 19 <indexterm zone="ch- system-make">18 <indexterm zone="ch-tools-make"> 20 19 <primary sortas="a-Make">Make</primary> 20 <secondary>tools</secondary> 21 21 </indexterm> 22 22 … … 24 24 <title/> 25 25 26 <para>The Make package contains a program for compiling packages.</para> 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../chapter08/make.xml" 28 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 27 29 28 30 <segmentedlist> … … 31 33 32 34 <seglistitem> 33 <seg>&make- ch6-sbu;</seg>34 <seg>&make- ch6-du;</seg>35 <seg>&make-tmp-sbu;</seg> 36 <seg>&make-tmp-du;</seg> 35 37 </seglistitem> 36 38 </segmentedlist> … … 40 42 <sect2 role="installation"> 41 43 <title>Installation of Make</title> 42 <!--43 <para>Again, work around an error caused by glibc-2.27 and later:</para>44 44 45 <screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>46 -->47 45 <para>Prepare Make for compilation:</para> 48 46 49 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> 47 <screen><userinput remap="configure">./configure --prefix=/usr \ 48 --without-guile \ 49 --host=$LFS_TGT \ 50 --build=$(build-aux/config.guess)</userinput></screen> 51 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> 50 64 51 65 <para>Compile the package:</para> … … 53 67 <screen><userinput remap="make">make</userinput></screen> 54 68 55 <para>The test suite needs to know where supporting perl files are located.56 We use an environment variable to accomplish this. To test the57 results, issue:</para>58 59 <screen><userinput remap="test">make check</userinput></screen>60 61 69 <para>Install the package:</para> 62 70 63 <screen><userinput remap="install">make install</userinput></screen>71 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 64 72 65 73 </sect2> 66 74 75 <sect2 role="content"> 76 <title/> 67 77 68 <sect2 id="contents-make" role="content"> 69 <title>Contents of Make</title> 70 71 <segmentedlist> 72 <segtitle>Installed program</segtitle> 73 74 <seglistitem> 75 <seg>make</seg> 76 </seglistitem> 77 </segmentedlist> 78 79 <variablelist> 80 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 81 <?dbfo list-presentation="list"?> 82 <?dbhtml list-presentation="table"?> 83 84 <varlistentry id="make"> 85 <term><command>make</command></term> 86 <listitem> 87 <para>Automatically determines which pieces of a package need to 88 be (re)compiled and then issues the relevant commands</para> 89 <indexterm zone="ch-system-make make"> 90 <primary sortas="b-make">make</primary> 91 </indexterm> 92 </listitem> 93 </varlistentry> 94 95 </variablelist> 78 <para>Details on this package are located in 79 <xref linkend="contents-make" role="."/></para> 96 80 97 81 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.