source: BOOK/temp-system/common/flex.xml @ 4bb4b626

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 4bb4b626 was 4bb4b626, checked in by Jim Gifford <clfs@…>, 15 years ago

Added Flex to Temp-System

  • Property mode set to 100644
File size: 2.3 KB
Line 
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
18  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19  href="../../final-system/common/flex.xml"
20  xpointer="xpointer(//*[@role='package'])"/>
21
22  <sect2 role="installation">
23    <title>Installation of Flex</title>
24
25    <para os="t1">Make sure that Flex doesn't try to include
26     headers from /usr/include.</para>
27
28<screen os="t2"><userinput>cp -v Makefile.in{,.orig}
29sed "s/-I@includedir@//g" Makefile.in.orig > Makefile.in</userinput></screen>
30
31    <para os="t3">When Cross Compiling the configure script
32    does not determine the correct values for the following,
33    Set the values manually:</para>
34
35<screen os="t4"><userinput>cat &gt; config.cache &lt;&lt; EOF
36ac_cv_func_malloc_0_nonnull=yes
37ac_cv_func_realloc_0_nonnull=yes
38EOF</userinput></screen>
39
40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41    href="../../final-system/common/flex.xml"
42    xpointer="xpointer(//*[@os='a'])"/>
43
44<screen os="cb"><userinput>./configure --prefix=/tools \
45    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
46    --cache-file=config.cache</userinput></screen>
47
48    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49    href="../../final-system/common/flex.xml"
50    xpointer="xpointer(//*[@os='c'])"/>
51
52    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53    href="../../final-system/common/flex.xml"
54    xpointer="xpointer(//*[@os='d'])"/>
55
56    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57    href="../../final-system/common/flex.xml"
58    xpointer="xpointer(//*[@os='f'])"/>
59
60    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61    href="../../final-system/common/flex.xml"
62    xpointer="xpointer(//*[@os='g'])"/>
63
64  </sect2>
65
66  <sect2 role="content">
67    <title/>
68
69    <para>Details on this package are located in <xref
70    linkend="contents-flex" role="."/></para>
71
72  </sect2>
73
74</sect1>
Note: See TracBrowser for help on using the repository browser.