[4bb4b626] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-temp-system-flex" role="wrap">
|
---|
| 9 | <?dbhtml filename="flex.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Flex-&flex-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-temp-system-flex">
|
---|
| 14 | <primary sortas="a-Flex">Flex</primary>
|
---|
| 15 | <secondary>temporary system</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[4bb4b626] | 19 | href="../../final-system/common/flex.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Flex</title>
|
---|
| 24 |
|
---|
[a0c0bc8] | 25 | <para os="t3">When cross compiling, the <command>configure</command>
|
---|
| 26 | script does not determine the correct values for the following.
|
---|
[4bb4b626] | 27 | Set the values manually:</para>
|
---|
| 28 |
|
---|
| 29 | <screen os="t4"><userinput>cat > config.cache << EOF
|
---|
| 30 | ac_cv_func_malloc_0_nonnull=yes
|
---|
| 31 | ac_cv_func_realloc_0_nonnull=yes
|
---|
| 32 | EOF</userinput></screen>
|
---|
| 33 |
|
---|
[dabbced] | 34 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[4bb4b626] | 35 | href="../../final-system/common/flex.xml"
|
---|
| 36 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 37 |
|
---|
| 38 | <screen os="cb"><userinput>./configure --prefix=/tools \
|
---|
| 39 | --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
| 40 | --cache-file=config.cache</userinput></screen>
|
---|
| 41 |
|
---|
[dabbced] | 42 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[4bb4b626] | 43 | href="../../final-system/common/flex.xml"
|
---|
| 44 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 45 |
|
---|
[dabbced] | 46 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[4bb4b626] | 47 | href="../../final-system/common/flex.xml"
|
---|
| 48 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 49 |
|
---|
[dabbced] | 50 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[4bb4b626] | 51 | href="../../final-system/common/flex.xml"
|
---|
| 52 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 53 |
|
---|
[dabbced] | 54 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[4bb4b626] | 55 | href="../../final-system/common/flex.xml"
|
---|
| 56 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 57 |
|
---|
| 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | <sect2 role="content">
|
---|
| 61 | <title/>
|
---|
| 62 |
|
---|
| 63 | <para>Details on this package are located in <xref
|
---|
| 64 | linkend="contents-flex" role="."/></para>
|
---|
| 65 |
|
---|
| 66 | </sect2>
|
---|
| 67 |
|
---|
| 68 | </sect1>
|
---|