source: BOOK/temp-system/common/m4.xml@ f975b3a

Last change on this file since f975b3a was 026bb5d, checked in by Chris Staub <chris@…>, 11 years ago

Updated simp branch to match main book

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[6a043e2]1<?xml version="1.0" encoding="ISO-8859-1"?>
[1c9985f]2<!DOCTYPE c:package [
[6a043e2]3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5]>
6
[1c9985f]7<c:package xmlns:c="http://schema.cross-lfs.org/book"
8 xmlns:xi="http://www.w3.org/2001/XInclude"
9 id="ch-temp-system-m4" c:multibuild="false">
[6a043e2]10
[1c9985f]11 <c:title>M4</c:title>
12 <c:version>&m4-version;</c:version>
13 <c:variant>temporary system</c:variant>
[6a043e2]14
[1c9985f]15 <xi:include href="../../final-system/common/m4.xml"
16 xpointer="xmlns(co=http://schema.cross-lfs.org/book)
17 xpointer(/co:package/co:description[1])" />
[6a043e2]18
[1c9985f]19 <c:install>
[6a043e2]20
[1c9985f]21 <c:para>Configure can not properly determine the results of the
22 following tests:</c:para>
[6a043e2]23
[1c9985f]24 <c:command>cat &gt; config.cache &lt;&lt; EOF
[f561e06]25gl_cv_func_btowc_eof=yes
26gl_cv_func_mbrtowc_incomplete_state=yes
27gl_cv_func_mbrtowc_sanitycheck=yes
[f1fe515]28gl_cv_func_mbrtowc_null_arg1=yes
29gl_cv_func_mbrtowc_null_arg2=yes
[f561e06]30gl_cv_func_mbrtowc_retval=yes
31gl_cv_func_mbrtowc_nul_retval=yes
32gl_cv_func_wcrtomb_retval=yes
33gl_cv_func_wctob_works=yes
[1c9985f]34EOF</c:command>
[f561e06]35
[1c9985f]36 <c:para>Prepare M4 for compilation:</c:para>
[6a043e2]37
[1c9985f]38 <c:command c:multilib="false">./configure --prefix=/tools \
[68d33bad]39 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[1c9985f]40 --cache-file=config.cache</c:command>
[6a043e2]41
[1c9985f]42 <c:command c:multilib="true">CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
43 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
44 --cache-file=config.cache</c:command>
[6a043e2]45
[1c9985f]46 <c:para>Compile the package:</c:para>
[6a043e2]47
[1c9985f]48 <c:command>make</c:command>
[6a043e2]49
[1c9985f]50 <c:para>Install the package:</c:para>
[6a043e2]51
[1c9985f]52 <c:command>make install</c:command>
[6a043e2]53
[1c9985f]54 </c:install>
[6a043e2]55
[1c9985f]56 <c:contents c:ref="ch-system-m4" />
[6a043e2]57
[1c9985f]58</c:package>
Note: See TracBrowser for help on using the repository browser.