Changeset 37e35d2 for chapter06/m4.xml
- Timestamp:
- 06/29/2020 07:55:01 AM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- c4804e8
- Parents:
- d4fdde6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/m4.xml
rd4fdde6 r37e35d2 6 6 ]> 7 7 8 <sect1 id="ch- system-m4" role="wrap">8 <sect1 id="ch-tools-m4" role="wrap"> 9 9 <?dbhtml filename="m4.html"?> 10 10 … … 17 17 <title>M4-&m4-version;</title> 18 18 19 <indexterm zone="ch- system-m4">19 <indexterm zone="ch-tools-m4"> 20 20 <primary sortas="a-M4">M4</primary> 21 <secondary>tools</secondary> 21 22 </indexterm> 22 23 … … 24 25 <title/> 25 26 26 <para>The M4 package contains a macro processor.</para> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 28 href="../chapter08/m4.xml" 29 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 27 30 28 31 <segmentedlist> … … 31 34 32 35 <seglistitem> 33 <seg>&m4- ch6-sbu;</seg>34 <seg>&m4- ch6-du;</seg>36 <seg>&m4-tmp-sbu;</seg> 37 <seg>&m4-tmp-du;</seg> 35 38 </seglistitem> 36 39 </segmentedlist> … … 41 44 <title>Installation of M4</title> 42 45 43 <para>First, make some fixes required by glibc-2.28:</para>46 <para>First, make some fixes introduced by glibc-2.28:</para> 44 47 45 48 <screen><userinput remap="pre">sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c … … 48 51 <para>Prepare M4 for compilation:</para> 49 52 50 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> 53 <screen><userinput remap="configure">./configure --prefix=/usr \ 54 --host=$LFS_TGT \ 55 --build=$(build-aux/config.guess)</userinput></screen> 51 56 52 57 <para>Compile the package:</para> … … 54 59 <screen><userinput remap="make">make</userinput></screen> 55 60 56 <para>To test the results, issue:</para>57 58 <screen><userinput remap="test">make check</userinput></screen>59 60 61 <para>Install the package:</para> 61 62 62 <screen><userinput remap="install">make install</userinput></screen>63 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 63 64 64 65 </sect2> 65 66 66 <sect2 id="contents-m4" role="content"> 67 <title>Contents of M4</title> 68 69 <segmentedlist> 70 <segtitle>Installed program</segtitle> 71 72 <seglistitem> 73 <seg>m4</seg> 74 </seglistitem> 75 </segmentedlist> 76 77 <variablelist> 78 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 79 <?dbfo list-presentation="list"?> 80 <?dbhtml list-presentation="table"?> 81 82 <varlistentry id="m4"> 83 <!-- Don't remove the extra space, it prevet a FOP warning. --> 84 <term><command>m4 </command></term> 85 <listitem> 86 <para>Copies the given files while expanding the macros that they 87 contain [These macros are either built-in or user-defined and can 88 take any number of arguments. Besides performing macro expansion, 89 <command>m4</command> has built-in functions for including named 90 files, running Unix commands, performing integer arithmetic, 91 manipulating text, recursion, etc. The <command>m4</command> program 92 can be used either as a front-end to a compiler or as a macro processor 93 in its own right.]</para> 94 <indexterm zone="ch-system-m4 m4"> 95 <primary sortas="b-m4">m4</primary> 96 </indexterm> 97 </listitem> 98 </varlistentry> 99 100 </variablelist> 67 <sect2 role="content"> 68 <title/> 69 <para>Details on this package are located in 70 <xref linkend="contents-m4" role="."/></para> 101 71 102 72 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.