source: chapter06/bison.xml@ 0c81bec

Last change on this file since 0c81bec was 6a0e6f3, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • Remove the spurious <info> tags that I thought were necessary but evidently aren't

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4387 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[1fe35e1]2<!DOCTYPE section [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[1fe35e1]6<section xmlns="http://docbook.org/docbook-ng"
7 xml:id="ch-system-bison" xreflabel="Bison" role="wrap">
[6a0e6f3]8<title>Bison-&bison-version;</title>
[673b0d8]9<?dbhtml filename="bison.html"?>
10
11<indexterm zone="ch-system-bison"><primary sortas="a-Bison">Bison</primary></indexterm>
[6370fa6]12
[6a0e6f3]13<section role="package"><title/>
[5888299]14<para>The Bison package contains a parser generator.</para>
15
[a001133]16<segmentedlist>
17<segtitle>&buildtime;</segtitle>
18<segtitle>&diskspace;</segtitle>
19<seglistitem><seg>0.6 SBU</seg><seg>10.6 MB</seg></seglistitem>
20</segmentedlist>
21
22<segmentedlist>
23<segtitle>Bison installation depends on</segtitle>
24<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
25GCC, Gettext, Glibc, Grep, M4, Make, Sed</seg></seglistitem>
26</segmentedlist>
[1fe35e1]27</section>
[73aedd1d]28
[1fe35e1]29<section role="installation">
[6a0e6f3]30<title>Installation of Bison</title>
[73aedd1d]31
[9dfc02f]32<para>Prepare Bison for compilation:</para>
[73aedd1d]33
34<screen><userinput>./configure --prefix=/usr</userinput></screen>
35
36<para>Compile the package:</para>
37
38<screen><userinput>make</userinput></screen>
39
[673b0d8]40<para>To test the results, issue:
[8a5f906]41<userinput>make check</userinput>.</para>
[73aedd1d]42
[673b0d8]43<para>Now install the package:</para>
[73aedd1d]44
45<screen><userinput>make install</userinput></screen>
46
[1fe35e1]47</section>
[6370fa6]48
[5888299]49
[6a0e6f3]50<section xml:id="contents-bison" role="content"><title>Contents of Bison</title>
[673b0d8]51
[c6cb3aa]52<segmentedlist>
53<segtitle>Installed programs</segtitle>
54<segtitle>Installed library</segtitle>
55<seglistitem><seg>bison and yacc</seg><seg>liby.a</seg></seglistitem>
56</segmentedlist>
[673b0d8]57
[c6cb3aa]58<variablelist><title>Short descriptions</title>
[6370fa6]59
[1fe35e1]60<varlistentry xml:id="bison">
[b8a819f]61<term><command>bison</command></term>
[c6cb3aa]62<listitem>
[673b0d8]63<indexterm zone="ch-system-bison bison"><primary sortas="b-bison">bison</primary></indexterm>
[c6cb3aa]64<para>generates, from a series of rules, a program
[3c928f1]65for analyzing the structure of text files. <command>bison</command> is a replacement for <command>yacc</command>
[673b0d8]66(Yet Another Compiler Compiler).</para>
[c6cb3aa]67</listitem>
68</varlistentry>
[673b0d8]69
[1fe35e1]70<varlistentry xml:id="yacc">
[b8a819f]71<term><command>yacc</command></term>
[c6cb3aa]72<listitem>
[673b0d8]73<indexterm zone="ch-system-bison yacc"><primary sortas="b-yacc">yacc</primary></indexterm>
[3c928f1]74<para>is a wrapper for <command>bison</command>, meant for programs
75that still call <command>yacc</command> instead of <command>bison</command>.
76It calls <command>bison</command> with the <parameter>-y</parameter> option.</para>
[c6cb3aa]77</listitem>
78</varlistentry>
[673b0d8]79
[1fe35e1]80<varlistentry xml:id="liby.a">
[e63529b]81<term><filename class="libraryfile">liby.a</filename></term>
[c6cb3aa]82<listitem>
[673b0d8]83<indexterm zone="ch-system-bison liby.a"><primary sortas="c-liby.a">liby.a</primary></indexterm>
[c6cb3aa]84<para>is the Yacc library containing
[673b0d8]85implementations of Yacc-compatible yyerror and main functions. This library
86is normally not very useful, but POSIX requires it.</para>
[c6cb3aa]87</listitem>
88</varlistentry>
89</variablelist>
[673b0d8]90
[1fe35e1]91</section>
[673b0d8]92
[1fe35e1]93</section>
Note: See TracBrowser for help on using the repository browser.