source: BOOK/temp-system/common/bison.xml@ 88ad369

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 88ad369 was 2ca606a, checked in by William Harrington <kb0iic@…>, 11 years ago

Bison and Flex hardcode the m4 binary to /cross-tools/bin/m4 durin temp-system which is not what we want. Fix it so that it is m4 without a path so that the PATH determines which m4 binary will be ran.

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[d3d4417f]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-bison" role="wrap">
9 <?dbhtml filename="bison.html"?>
10
11 <title>Bison-&bison-version;</title>
12
13 <indexterm zone="ch-temp-system-bison">
14 <primary sortas="a-Bison">Bison</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[d3d4417f]19 href="../../final-system/common/bison.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Bison</title>
24
[3d00d488]25 <para os='s1'>Apply a <command>sed</command> which disables the building of <filename>bison.help</filename> when cross-compiling.</para>
26
27<screen os='s2'><userinput>cp -v Makefile.in{,.orig}
28sed '/bison.help:/s/^/# /' Makefile.in.orig > Makefile.in</userinput></screen>
[80e3a2f]29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30 href="../../final-system/common/bison.xml"
31 xpointer="xpointer(//*[@os='t3'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
34 href="../../final-system/common/bison.xml"
35 xpointer="xpointer(//*[@os='t4'])"/>
36
[dabbced]37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[d3d4417f]38 href="../../final-system/common/bison.xml"
39 xpointer="xpointer(//*[@os='a'])"/>
40
[2ca606a]41<screen os="ca"><userinput>M4=m4 ./configure --prefix=/tools \
[80e3a2f]42 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
43 --cache-file=config.cache</userinput></screen>
[d3d4417f]44
[dabbced]45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[d3d4417f]46 href="../../final-system/common/bison.xml"
47 xpointer="xpointer(//*[@os='c'])"/>
48
[dabbced]49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[d3d4417f]50 href="../../final-system/common/bison.xml"
51 xpointer="xpointer(//*[@os='d'])"/>
52
[dabbced]53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[d3d4417f]54 href="../../final-system/common/bison.xml"
55 xpointer="xpointer(//*[@os='f'])"/>
56
[dabbced]57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[d3d4417f]58 href="../../final-system/common/bison.xml"
59 xpointer="xpointer(//*[@os='g'])"/>
60
61 </sect2>
62
63 <sect2 role="content">
64 <title/>
65
66 <para>Details on this package are located in <xref
67 linkend="contents-bison" role="."/></para>
68
69 </sect2>
70
71</sect1>
Note: See TracBrowser for help on using the repository browser.