Indenting chapter 6, part 2.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7324 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Manuel Canales Esparcia 2006-02-01 20:41:29 +00:00
parent 50e693d738
commit 92474b4514
3 changed files with 480 additions and 362 deletions

View File

@ -1,35 +1,50 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent"> <!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities; %general-entities;
]> ]>
<sect1 id="ch-system-bash" role="wrap"> <sect1 id="ch-system-bash" role="wrap">
<title>Bash-&bash-version;</title>
<?dbhtml filename="bash.html"?> <?dbhtml filename="bash.html"?>
<indexterm zone="ch-system-bash"><primary sortas="a-Bash">Bash</primary></indexterm> <title>Bash-&bash-version;</title>
<indexterm zone="ch-system-bash">
<primary sortas="a-Bash">Bash</primary>
</indexterm>
<sect2 role="package">
<title/>
<sect2 role="package"><title/>
<para>The Bash package contains the Bourne-Again SHell.</para> <para>The Bash package contains the Bourne-Again SHell.</para>
<segmentedlist> <segmentedlist>
<segtitle>&buildtime;</segtitle> <segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle> <segtitle>&diskspace;</segtitle>
<seglistitem><seg>1.2 SBU</seg><seg>24.6 MB</seg></seglistitem>
<seglistitem>
<seg>1.2 SBU</seg>
<seg>24.6 MB</seg>
</seglistitem>
</segmentedlist> </segmentedlist>
<segmentedlist> <segmentedlist>
<segtitle>&dependencies;</segtitle> <segtitle>&dependencies;</segtitle>
<seglistitem><seg>Binutils, Coreutils, Diffutils, Gawk,
GCC, Glibc, Grep, Make, Ncurses, and Sed.</seg></seglistitem> <seglistitem>
<seg>Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make,
Ncurses, and Sed.</seg>
</seglistitem>
</segmentedlist> </segmentedlist>
</sect2> </sect2>
<sect2 role="installation"> <sect2 role="installation">
<title>Installation of Bash</title> <title>Installation of Bash</title>
<para>If you downloaded the Bash documentation tarball and wish to install HTML <para>If you downloaded the Bash documentation tarball and wish to install
documentation, issue the following commands:</para> HTML documentation, issue the following commands:</para>
<screen><userinput>tar -xvf ../bash-doc-&bash-doc-version;.tar.gz &amp;&amp; <screen><userinput>tar -xvf ../bash-doc-&bash-doc-version;.tar.gz &amp;&amp;
sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
@ -40,15 +55,19 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
<screen><userinput>./configure --prefix=/usr --bindir=/bin \ <screen><userinput>./configure --prefix=/usr --bindir=/bin \
--without-bash-malloc --with-installed-readline</userinput></screen> --without-bash-malloc --with-installed-readline</userinput></screen>
<para>The meaning of the configure options:</para>
<variablelist> <variablelist>
<title>The meaning of the configure options:</title>
<varlistentry> <varlistentry>
<term><parameter>--with-installed-readline</parameter></term> <term><parameter>--with-installed-readline</parameter></term>
<listitem><para>This option tells Bash to use the <listitem>
<filename class="libraryfile">readline</filename> library that is already installed <para>This option tells Bash to use the <filename
on the system rather than using its own readline version.</para></listitem> class="libraryfile">readline</filename> library that is already
installed on the system rather than using its own readline
version.</para>
</listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
<para>Compile the package:</para> <para>Compile the package:</para>
@ -67,21 +86,27 @@ currently being executed):</para>
<screen role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen> <screen role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>
<note><para>The parameters used make the <command>bash</command> <note>
<para>The parameters used make the <command>bash</command>
process an interactive login shell and continue to disable hashing so process an interactive login shell and continue to disable hashing so
that new programs are found as they become available.</para></note> that new programs are found as they become available.</para>
</note>
</sect2> </sect2>
<sect2 id="contents-bash" role="content">
<sect2 id="contents-bash" role="content"><title>Contents of Bash</title> <title>Contents of Bash</title>
<segmentedlist> <segmentedlist>
<segtitle>Installed programs</segtitle> <segtitle>Installed programs</segtitle>
<seglistitem><seg>bash, bashbug, and sh (link to bash)</seg></seglistitem>
<seglistitem>
<seg>bash, bashbug, and sh (link to bash)</seg>
</seglistitem>
</segmentedlist> </segmentedlist>
<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> <variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?> <?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?> <?dbhtml list-presentation="table"?>
@ -91,16 +116,20 @@ that new programs are found as they become available.</para></note>
<para>A widely-used command interpreter; it performs many types of <para>A widely-used command interpreter; it performs many types of
expansions and substitutions on a given command line before executing expansions and substitutions on a given command line before executing
it, thus making this interpreter a powerful tool</para> it, thus making this interpreter a powerful tool</para>
<indexterm zone="ch-system-bash bash"><primary sortas="b-bash">bash</primary></indexterm> <indexterm zone="ch-system-bash bash">
<primary sortas="b-bash">bash</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="bashbug"> <varlistentry id="bashbug">
<term><command>bashbug</command></term> <term><command>bashbug</command></term>
<listitem> <listitem>
<para>A shell script to help the user compose and mail standard formatted bug <para>A shell script to help the user compose and mail standard
reports concerning <command>bash</command></para> formatted bug reports concerning <command>bash</command></para>
<indexterm zone="ch-system-bash bashbug"><primary sortas="b-bashbug">bashbug</primary></indexterm> <indexterm zone="ch-system-bash bashbug">
<primary sortas="b-bashbug">bashbug</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -110,13 +139,16 @@ reports concerning <command>bash</command></para>
<para>A symlink to the <command>bash</command> program; when invoked <para>A symlink to the <command>bash</command> program; when invoked
as <command>sh</command>, <command>bash</command> tries to mimic the as <command>sh</command>, <command>bash</command> tries to mimic the
startup behavior of historical versions of <command>sh</command> as startup behavior of historical versions of <command>sh</command> as
closely as possible, while conforming to the POSIX standard as well</para> closely as possible, while conforming to the POSIX standard as
<indexterm zone="ch-system-bash sh"><primary sortas="b-sh">sh</primary></indexterm> well</para>
<indexterm zone="ch-system-bash sh">
<primary sortas="b-sh">sh</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</sect2> </sect2>
</sect1> </sect1>

View File

@ -1,29 +1,44 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent"> <!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities; %general-entities;
]> ]>
<sect1 id="ch-system-binutils" role="wrap"> <sect1 id="ch-system-binutils" role="wrap">
<title>Binutils-&binutils-version;</title>
<?dbhtml filename="binutils.html"?> <?dbhtml filename="binutils.html"?>
<indexterm zone="ch-system-binutils"><primary sortas="a-Binutils">Binutils</primary></indexterm> <title>Binutils-&binutils-version;</title>
<sect2 role="package"><title/> <indexterm zone="ch-system-binutils">
<para>The Binutils package contains a linker, an assembler, and other tools for <primary sortas="a-Binutils">Binutils</primary>
handling object files.</para> </indexterm>
<sect2 role="package">
<title/>
<para>The Binutils package contains a linker, an assembler, and other
tools for handling object files.</para>
<segmentedlist> <segmentedlist>
<segtitle>&buildtime;</segtitle> <segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle> <segtitle>&diskspace;</segtitle>
<seglistitem><seg>1.3 SBU</seg><seg>158 MB</seg></seglistitem>
<seglistitem>
<seg>1.3 SBU</seg>
<seg>158 MB</seg>
</seglistitem>
</segmentedlist> </segmentedlist>
<segmentedlist> <segmentedlist>
<segtitle>&dependencies;</segtitle> <segtitle>&dependencies;</segtitle>
<seglistitem><seg>Bash, Coreutils, Diffutils, GCC, Gettext,
Glibc, Grep, M4, Make, Perl, Sed, and Texinfo</seg></seglistitem> <seglistitem>
<seg>Bash, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, M4,
Make, Perl, Sed, and Texinfo</seg>
</seglistitem>
</segmentedlist> </segmentedlist>
</sect2> </sect2>
<sect2 role="installation"> <sect2 role="installation">
@ -61,6 +76,7 @@ cd ../binutils-build</userinput></screen>
<variablelist> <variablelist>
<title>The meaning of the make parameter:</title> <title>The meaning of the make parameter:</title>
<varlistentry> <varlistentry>
<term><parameter>tooldir=/usr</parameter></term> <term><parameter>tooldir=/usr</parameter></term>
<listitem> <listitem>
@ -77,11 +93,13 @@ cd ../binutils-build</userinput></screen>
on PowerPC machines).</para> on PowerPC machines).</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
<important><para>The test suite for Binutils in this section is <important>
considered critical. Do not skip it under any <para>The test suite for Binutils in this section is considered critical.
circumstances.</para></important> Do not skip it under any circumstances.</para>
</important>
<para>Test the results:</para> <para>Test the results:</para>
@ -91,25 +109,30 @@ circumstances.</para></important>
<screen><userinput>make tooldir=/usr install</userinput></screen> <screen><userinput>make tooldir=/usr install</userinput></screen>
<para>Install the <filename class="headerfile">libiberty</filename> header file that is needed by <para>Install the <filename class="headerfile">libiberty</filename> header
some packages:</para> file that is needed by some packages:</para>
<screen><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen> <screen><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen>
</sect2> </sect2>
<sect2 id="contents-binutils" role="content"><title>Contents of Binutils</title> <sect2 id="contents-binutils" role="content">
<title>Contents of Binutils</title>
<segmentedlist> <segmentedlist>
<segtitle>Installed programs</segtitle> <segtitle>Installed programs</segtitle>
<segtitle>Installed libraries</segtitle> <segtitle>Installed libraries</segtitle>
<seglistitem><seg>addr2line, ar, as, c++filt, gprof, ld, nm, objcopy, objdump,
<seglistitem>
<seg>addr2line, ar, as, c++filt, gprof, ld, nm, objcopy, objdump,
ranlib, readelf, size, strings, and strip</seg> ranlib, readelf, size, strings, and strip</seg>
<seg>libiberty.a, libbfd.[a,so], and libopcodes.[a,so]</seg></seglistitem> <seg>libiberty.a, libbfd.[a,so], and libopcodes.[a,so]</seg>
</seglistitem>
</segmentedlist> </segmentedlist>
<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> <variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?> <?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?> <?dbhtml list-presentation="table"?>
@ -120,7 +143,9 @@ ranlib, readelf, size, strings, and strip</seg>
given an address and the name of an executable, it uses the debugging given an address and the name of an executable, it uses the debugging
information in the executable to determine which source file and line information in the executable to determine which source file and line
number are associated with the address</para> number are associated with the address</para>
<indexterm zone="ch-system-binutils addr2line"><primary sortas="b-addr2line">addr2line</primary></indexterm> <indexterm zone="ch-system-binutils addr2line">
<primary sortas="b-addr2line">addr2line</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -128,7 +153,9 @@ number are associated with the address</para>
<term><command>ar</command></term> <term><command>ar</command></term>
<listitem> <listitem>
<para>Creates, modifies, and extracts from archives</para> <para>Creates, modifies, and extracts from archives</para>
<indexterm zone="ch-system-binutils ar"><primary sortas="b-ar">ar</primary></indexterm> <indexterm zone="ch-system-binutils ar">
<primary sortas="b-ar">ar</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -137,7 +164,9 @@ number are associated with the address</para>
<listitem> <listitem>
<para>An assembler that assembles the output of <command>gcc</command> <para>An assembler that assembles the output of <command>gcc</command>
into object files</para> into object files</para>
<indexterm zone="ch-system-binutils as"><primary sortas="b-as">as</primary></indexterm> <indexterm zone="ch-system-binutils as">
<primary sortas="b-as">as</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -146,7 +175,9 @@ into object files</para>
<listitem> <listitem>
<para>Used by the linker to de-mangle C++ and Java symbols and to keep <para>Used by the linker to de-mangle C++ and Java symbols and to keep
overloaded functions from clashing</para> overloaded functions from clashing</para>
<indexterm zone="ch-system-binutils c-filt"><primary sortas="b-c++filt">c++filt</primary></indexterm> <indexterm zone="ch-system-binutils c-filt">
<primary sortas="b-c++filt">c++filt</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -154,16 +185,21 @@ overloaded functions from clashing</para>
<term><command>gprof</command></term> <term><command>gprof</command></term>
<listitem> <listitem>
<para>Displays call graph profile data</para> <para>Displays call graph profile data</para>
<indexterm zone="ch-system-binutils gprof"><primary sortas="b-gprof">gprof</primary></indexterm> <indexterm zone="ch-system-binutils gprof">
<primary sortas="b-gprof">gprof</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="ld"> <varlistentry id="ld">
<term><command>ld</command></term> <term><command>ld</command></term>
<listitem> <listitem>
<para>A linker that combines a number of object and archive files into a single file, <para>A linker that combines a number of object and archive files
relocating their data and tying up symbol references</para> into a single file, relocating their data and tying up symbol
<indexterm zone="ch-system-binutils ld"><primary sortas="b-ld">ld</primary></indexterm> references</para>
<indexterm zone="ch-system-binutils ld">
<primary sortas="b-ld">ld</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -171,7 +207,9 @@ relocating their data and tying up symbol references</para>
<term><command>nm</command></term> <term><command>nm</command></term>
<listitem> <listitem>
<para>Lists the symbols occurring in a given object file</para> <para>Lists the symbols occurring in a given object file</para>
<indexterm zone="ch-system-binutils nm"><primary sortas="b-nm">nm</primary></indexterm> <indexterm zone="ch-system-binutils nm">
<primary sortas="b-nm">nm</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -179,7 +217,9 @@ relocating their data and tying up symbol references</para>
<term><command>objcopy</command></term> <term><command>objcopy</command></term>
<listitem> <listitem>
<para>Translates one type of object file into another</para> <para>Translates one type of object file into another</para>
<indexterm zone="ch-system-binutils objcopy"><primary sortas="b-objcopy">objcopy</primary></indexterm> <indexterm zone="ch-system-binutils objcopy">
<primary sortas="b-objcopy">objcopy</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -190,7 +230,9 @@ relocating their data and tying up symbol references</para>
controlling the particular information to display; the information controlling the particular information to display; the information
shown is useful to programmers who are working on the compilation shown is useful to programmers who are working on the compilation
tools</para> tools</para>
<indexterm zone="ch-system-binutils objdump"><primary sortas="b-objdump">objdump</primary></indexterm> <indexterm zone="ch-system-binutils objdump">
<primary sortas="b-objdump">objdump</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -200,7 +242,9 @@ tools</para>
<para>Generates an index of the contents of an archive and stores it <para>Generates an index of the contents of an archive and stores it
in the archive; the index lists all of the symbols defined by archive in the archive; the index lists all of the symbols defined by archive
members that are relocatable object files</para> members that are relocatable object files</para>
<indexterm zone="ch-system-binutils ranlib"><primary sortas="b-ranlib">ranlib</primary></indexterm> <indexterm zone="ch-system-binutils ranlib">
<primary sortas="b-ranlib">ranlib</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -208,15 +252,20 @@ members that are relocatable object files</para>
<term><command>readelf</command></term> <term><command>readelf</command></term>
<listitem> <listitem>
<para>Displays information about ELF type binaries</para> <para>Displays information about ELF type binaries</para>
<indexterm zone="ch-system-binutils readelf"><primary sortas="b-readelf">readelf</primary></indexterm> <indexterm zone="ch-system-binutils readelf">
<primary sortas="b-readelf">readelf</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="size"> <varlistentry id="size">
<term><command>size</command></term> <term><command>size</command></term>
<listitem> <listitem>
<para>Lists the section sizes and the total size for the given object files</para> <para>Lists the section sizes and the total size for the given
<indexterm zone="ch-system-binutils size"><primary sortas="b-size">size</primary></indexterm> object files</para>
<indexterm zone="ch-system-binutils size">
<primary sortas="b-size">size</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -228,7 +277,9 @@ characters that are of at least the specified length (defaulting to
four); for object files, it prints, by default, only the strings from four); for object files, it prints, by default, only the strings from
the initializing and loading sections while for other types of files, it the initializing and loading sections while for other types of files, it
scans the entire file</para> scans the entire file</para>
<indexterm zone="ch-system-binutils strings"><primary sortas="b-strings">strings</primary></indexterm> <indexterm zone="ch-system-binutils strings">
<primary sortas="b-strings">strings</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -236,7 +287,9 @@ scans the entire file</para>
<term><command>strip</command></term> <term><command>strip</command></term>
<listitem> <listitem>
<para>Discards symbols from object files</para> <para>Discards symbols from object files</para>
<indexterm zone="ch-system-binutils strip"><primary sortas="b-strip">strip</primary></indexterm> <indexterm zone="ch-system-binutils strip">
<primary sortas="b-strip">strip</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -247,7 +300,9 @@ scans the entire file</para>
<command>getopt</command>, <command>obstack</command>, <command>getopt</command>, <command>obstack</command>,
<command>strerror</command>, <command>strtol</command>, and <command>strerror</command>, <command>strtol</command>, and
<command>strtoul</command></para> <command>strtoul</command></para>
<indexterm zone="ch-system-binutils libiberty"><primary sortas="c-libiberty">libiberty</primary></indexterm> <indexterm zone="ch-system-binutils libiberty">
<primary sortas="c-libiberty">libiberty</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -255,7 +310,9 @@ scans the entire file</para>
<term><filename class="libraryfile">libbfd</filename></term> <term><filename class="libraryfile">libbfd</filename></term>
<listitem> <listitem>
<para>The Binary File Descriptor library</para> <para>The Binary File Descriptor library</para>
<indexterm zone="ch-system-binutils libbfd"><primary sortas="c-libbfd">libbfd</primary></indexterm> <indexterm zone="ch-system-binutils libbfd">
<primary sortas="c-libbfd">libbfd</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -266,12 +323,14 @@ scans the entire file</para>
text</quote> versions of instructions for the processor; text</quote> versions of instructions for the processor;
it is used for building utilities like it is used for building utilities like
<command>objdump</command>.</para> <command>objdump</command>.</para>
<indexterm zone="ch-system-binutils libopcodes"><primary sortas="c-libopcodes">libopcodes</primary></indexterm> <indexterm zone="ch-system-binutils libopcodes">
<primary sortas="c-libopcodes">libopcodes</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</sect2> </sect2>
</sect1> </sect1>

View File

@ -1,28 +1,43 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent"> <!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities; %general-entities;
]> ]>
<sect1 id="ch-system-bison" role="wrap"> <sect1 id="ch-system-bison" role="wrap">
<title>Bison-&bison-version;</title>
<?dbhtml filename="bison.html"?> <?dbhtml filename="bison.html"?>
<indexterm zone="ch-system-bison"><primary sortas="a-Bison">Bison</primary></indexterm> <title>Bison-&bison-version;</title>
<indexterm zone="ch-system-bison">
<primary sortas="a-Bison">Bison</primary>
</indexterm>
<sect2 role="package">
<title/>
<sect2 role="package"><title/>
<para>The Bison package contains a parser generator.</para> <para>The Bison package contains a parser generator.</para>
<segmentedlist> <segmentedlist>
<segtitle>&buildtime;</segtitle> <segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle> <segtitle>&diskspace;</segtitle>
<seglistitem><seg>0.6 SBU</seg><seg>9.9 MB</seg></seglistitem>
<seglistitem>
<seg>0.6 SBU</seg>
<seg>9.9 MB</seg>
</seglistitem>
</segmentedlist> </segmentedlist>
<segmentedlist> <segmentedlist>
<segtitle>&dependencies;</segtitle> <segtitle>&dependencies;</segtitle>
<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
GCC, Gettext, Glibc, Grep, M4, Make, and Sed</seg></seglistitem> <seglistitem>
<seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc,
Grep, M4, Make, and Sed</seg>
</seglistitem>
</segmentedlist> </segmentedlist>
</sect2> </sect2>
<sect2 role="installation"> <sect2 role="installation">
@ -52,35 +67,46 @@ this.</para>
</sect2> </sect2>
<sect2 id="contents-bison" role="content"><title>Contents of Bison</title> <sect2 id="contents-bison" role="content">
<title>Contents of Bison</title>
<segmentedlist> <segmentedlist>
<segtitle>Installed programs</segtitle> <segtitle>Installed programs</segtitle>
<segtitle>Installed library</segtitle> <segtitle>Installed library</segtitle>
<seglistitem><seg>bison and yacc</seg><seg>liby.a</seg></seglistitem>
<seglistitem>
<seg>bison and yacc</seg>
<seg>liby.a</seg>
</seglistitem>
</segmentedlist> </segmentedlist>
<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> <variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?> <?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?> <?dbhtml list-presentation="table"?>
<varlistentry id="bison"> <varlistentry id="bison">
<term><command>bison</command></term> <term><command>bison</command></term>
<listitem> <listitem>
<para>Generates, from a series of rules, a program for analyzing the structure <para>Generates, from a series of rules, a program for analyzing the
of text files; Bison is a replacement for Yacc (Yet Another Compiler structure of text files; Bison is a replacement for Yacc (Yet Another
Compiler)</para> Compiler Compiler)</para>
<indexterm zone="ch-system-bison bison"><primary sortas="b-bison">bison</primary></indexterm> <indexterm zone="ch-system-bison bison">
<primary sortas="b-bison">bison</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="yacc"> <varlistentry id="yacc">
<term><command>yacc</command></term> <term><command>yacc</command></term>
<listitem> <listitem>
<para>A wrapper for <command>bison</command>, meant for programs <para>A wrapper for <command>bison</command>, meant for programs that
that still call <command>yacc</command> instead of <command>bison</command>; still call <command>yacc</command> instead of <command>bison</command>;
it calls <command>bison</command> with the <parameter>-y</parameter> option</para> it calls <command>bison</command> with the <parameter>-y</parameter>
<indexterm zone="ch-system-bison yacc"><primary sortas="b-yacc">yacc</primary></indexterm> option</para>
<indexterm zone="ch-system-bison yacc">
<primary sortas="b-yacc">yacc</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -88,15 +114,16 @@ it calls <command>bison</command> with the <parameter>-y</parameter> option</par
<term><filename class="libraryfile">liby.a</filename></term> <term><filename class="libraryfile">liby.a</filename></term>
<listitem> <listitem>
<para>The Yacc library containing implementations of Yacc-compatible <para>The Yacc library containing implementations of Yacc-compatible
<emphasis>yyerror</emphasis> and <emphasis>main</emphasis> functions; <function>yyerror</function> and <function>main</function> functions;
this library is normally not very useful, but POSIX requires this library is normally not very useful, but POSIX requires it</para>
it</para> <indexterm zone="ch-system-bison liby.a">
<indexterm zone="ch-system-bison liby.a"><primary sortas="c-liby.a">liby.a</primary></indexterm> <primary sortas="c-liby.a">liby.a</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</sect2> </sect2>
</sect1> </sect1>