1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <!DOCTYPE c:package [ |
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent"> |
---|
4 | %general-entities; |
---|
5 | ]> |
---|
6 | |
---|
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"> |
---|
10 | |
---|
11 | <c:title>M4</c:title> |
---|
12 | <c:version>&m4-version;</c:version> |
---|
13 | <c:variant>temporary system</c:variant> |
---|
14 | |
---|
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])" /> |
---|
18 | |
---|
19 | <c:install> |
---|
20 | |
---|
21 | <c:para>Configure can not properly determine the results of the |
---|
22 | following tests:</c:para> |
---|
23 | |
---|
24 | <c:command>cat > config.cache << EOF |
---|
25 | gl_cv_func_btowc_eof=yes |
---|
26 | gl_cv_func_mbrtowc_incomplete_state=yes |
---|
27 | gl_cv_func_mbrtowc_sanitycheck=yes |
---|
28 | gl_cv_func_mbrtowc_null_arg=yes |
---|
29 | gl_cv_func_mbrtowc_retval=yes |
---|
30 | gl_cv_func_mbrtowc_nul_retval=yes |
---|
31 | gl_cv_func_wcrtomb_retval=yes |
---|
32 | gl_cv_func_wctob_works=yes |
---|
33 | EOF</c:command> |
---|
34 | |
---|
35 | <c:para>Prepare M4 for compilation:</c:para> |
---|
36 | |
---|
37 | <c:command c:multilib="false">./configure --prefix=/tools \ |
---|
38 | --build=${CLFS_HOST} --host=${CLFS_TARGET} \ |
---|
39 | --cache-file=config.cache</c:command> |
---|
40 | |
---|
41 | <c:command c:multilib="true">CC="${CC} ${BUILD64}" ./configure --prefix=/tools \ |
---|
42 | --build=${CLFS_HOST} --host=${CLFS_TARGET} \ |
---|
43 | --cache-file=config.cache</c:command> |
---|
44 | |
---|
45 | <c:para>Compile the package:</c:para> |
---|
46 | |
---|
47 | <c:command>make</c:command> |
---|
48 | |
---|
49 | <c:para>Install the package:</c:para> |
---|
50 | |
---|
51 | <c:command>make install</c:command> |
---|
52 | |
---|
53 | </c:install> |
---|
54 | |
---|
55 | <c:contents c:ref="ch-system-m4" /> |
---|
56 | |
---|
57 | </c:package> |
---|