[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 > config.cache << EOF
|
---|
[f561e06] | 25 | gl_cv_func_btowc_eof=yes
|
---|
| 26 | gl_cv_func_mbrtowc_incomplete_state=yes
|
---|
| 27 | gl_cv_func_mbrtowc_sanitycheck=yes
|
---|
[f1fe515] | 28 | gl_cv_func_mbrtowc_null_arg1=yes
|
---|
| 29 | gl_cv_func_mbrtowc_null_arg2=yes
|
---|
[f561e06] | 30 | gl_cv_func_mbrtowc_retval=yes
|
---|
| 31 | gl_cv_func_mbrtowc_nul_retval=yes
|
---|
| 32 | gl_cv_func_wcrtomb_retval=yes
|
---|
| 33 | gl_cv_func_wctob_works=yes
|
---|
[1c9985f] | 34 | EOF</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>
|
---|