diff options
-rw-r--r-- | appendices/dependencies.xml | 38 | ||||
-rw-r--r-- | chapter01/changelog.xml | 10 | ||||
-rw-r--r-- | chapter01/whatsnew.xml | 4 | ||||
-rw-r--r-- | chapter03/packages.xml | 9 | ||||
-rw-r--r-- | chapter05/stripping.xml | 6 | ||||
-rw-r--r-- | chapter06/bc.xml | 120 | ||||
-rw-r--r-- | chapter06/chapter06.xml | 1 | ||||
-rw-r--r-- | general.ent | 4 | ||||
-rw-r--r-- | packages.ent | 12 | ||||
-rw-r--r-- | prologue/standards.xml | 8 |
10 files changed, 200 insertions, 12 deletions
diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index 841887828..d8506629e 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -145,6 +145,42 @@ </seglistitem> </segmentedlist> +<!-- Begin Bc dependency info --> + <bridgehead renderas="sect2" id="bc-dep">Bc</bridgehead> + + <segmentedlist> + <segtitle>&dependencies;</segtitle> + + <seglistitem> + <seg>Bash, Binutils, Bison, Coreutils, GCC, Glibc, + Grep, Make, and Readline</seg> + </seglistitem> + </segmentedlist> + + <segmentedlist> + <segtitle>&testsuites;</segtitle> + + <seglistitem> + <seg>Gawk</seg> + </seglistitem> + </segmentedlist> + + <segmentedlist> + <segtitle>&before;</segtitle> + + <seglistitem> + <seg>Linux Kernel</seg> + </seglistitem> + </segmentedlist> + + <segmentedlist> + <segtitle>&external;</segtitle> + + <seglistitem> + <seg>None</seg> + </seglistitem> + </segmentedlist> + <!-- Begin Binutils dependency info --> <bridgehead renderas="sect2" id="binutils-dep">Binutils</bridgehead> @@ -1196,7 +1232,7 @@ <segtitle>&dependencies;</segtitle> <seglistitem> - <seg>Bash, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc, Grep, + <seg>Bash, Bc, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc, Grep, Gzip, Kmod, Make, Ncurses, Perl, and Sed</seg> </seglistitem> </segmentedlist> diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4231b6635..91e99bfde 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -37,6 +37,16 @@ --> <listitem> + <para>2013-04-29</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Add bc to Chapter 6 to support Linux-3.9. Fixes + <ulink url="&lfs-ticket-root;3338">#3338</ulink>.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2013-04-28</para> <itemizedlist> <listitem> diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 27ed2b2ca..c892a7e1d 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -230,6 +230,10 @@ <listitem><para></para></listitem> <!-- satisfy build --> <listitem> + <para>bc &bc-version;</para> + </listitem> + + <listitem> <para>&bash-fixes-patch;</para> </listitem> diff --git a/chapter03/packages.xml b/chapter03/packages.xml index 628841aae..5cc8fcf71 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -42,6 +42,15 @@ </varlistentry> <varlistentry> + <term>Bc (&bc-version;) - <token>&bc-size;</token>:</term> + <listitem> + <para>Home page: <ulink url="&bc-home;"/></para> + <para>Download: <ulink url="&bc-url;"/></para> + <para>MD5 sum: <literal>&bc-md5;</literal></para> + </listitem> + </varlistentry> + + <varlistentry> <term>Binutils (&binutils-version;) - <token>&binutils-size;</token>:</term> <listitem> <para>Home page: <ulink url="&binutils-home;"/></para> diff --git a/chapter05/stripping.xml b/chapter05/stripping.xml index 5a1de46a2..2d8fe6568 100644 --- a/chapter05/stripping.xml +++ b/chapter05/stripping.xml @@ -30,9 +30,9 @@ strip --strip-unneeded /tools/{,s}bin/*</userinput></screen> <screen><userinput>rm -rf /tools/{,share}/{info,man,doc}</userinput></screen> - <para>At this point, you should have at least 850 MB of free space in - <envar>$LFS</envar> that can be used to build and install Glibc in the - next phase. If you can build and install Glibc, you can build and install + <para>At this point, you should have at least 3 GB of free space in + <envar>$LFS</envar> that can be used to build and install Glibc and Gcc in + the next phase. If you can build and install Glibc, you can build and install the rest too.</para> </sect1> diff --git a/chapter06/bc.xml b/chapter06/bc.xml new file mode 100644 index 000000000..8e37d0132 --- /dev/null +++ b/chapter06/bc.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-system-bc" role="wrap"> + <?dbhtml filename="bc.html"?> + + <sect1info condition="script"> + <productname>bc</productname> + <productnumber>&bc-version;</productnumber> + <address>&bc-url;</address> + </sect1info> + + <title>Bc-&bc-version;</title> + + <indexterm zone="ch-system-bc"> + <primary sortas="a-Bc">Bc</primary> + </indexterm> + + <sect2 role="package"> + <title/> + + <para>The Bc package contains an arbitrary precision numeric processing + language.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&bc-ch6-sbu;</seg> + <seg>&bc-ch6-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Bc</title> + + <para>Prepare Bc for compilation:</para> + +<screen><userinput remap="configure">./configure --prefix=/usr --with-readline</userinput></screen> + + <variablelist> + <title>The meaning of the configure options:</title> + + <varlistentry> + <term><parameter>--with-readline</parameter></term> + <listitem> + <para>This option tells Bc to use the <filename + class="libraryfile">readline</filename> library that is already + installed on the system rather than using its own readline + version.</para> + </listitem> + </varlistentry> + + </variablelist> + + <para>Compile the package:</para> + +<screen><userinput remap="make">make</userinput></screen> + + <para>To test bc, run the commands below. There is quite a bit of output, + so you may want to redirect it to a file. There are a very small percentage + of tests (10 of 12,144) that will indicate a roundoff error at the last + digit.</para> + +<screen><userinput remap="test">echo "quit" | ./bc/bc -l Test/checklib.b</userinput></screen> + + <para>Install the package:</para> + +<screen><userinput remap="install">make install</userinput></screen> + + </sect2> + + <sect2 id="contents-bc" role="content"> + <title>Contents of Bc</title> + + <segmentedlist> + <segtitle>Installed programs</segtitle> + + <seglistitem> + <seg>bc and dc</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="bc"> + <term><command>bc</command></term> + <listitem> + <para>is a command line calculator</para> + <indexterm zone="ch-system-bc bc"> + <primary sortas="b-bc">bc</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="dc"> + <term><command>dc</command></term> + <listitem> + <para>is a reverse-polish command line calculator</para> + <indexterm zone="ch-system-bc dc"> + <primary sortas="b-dc">dc</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 89458bee5..866cde984 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -44,6 +44,7 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grep.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bash.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bc.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtool.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gdbm.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="inetutils.xml"/> diff --git a/general.ent b/general.ent index a34e3379e..ee99cc1eb 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ -<!ENTITY version "SVN-20130428"> -<!ENTITY releasedate "April 28, 2013"> +<!ENTITY version "SVN-20130429"> +<!ENTITY releasedate "April 29, 2013"> <!ENTITY copyrightdate "1999-2013"><!-- jhalfs needs a literal dash, not – --> <!ENTITY milestone "7.4"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> diff --git a/packages.ent b/packages.ent index c66d8bd6e..ea24fb0ae 100644 --- a/packages.ent +++ b/packages.ent @@ -34,6 +34,14 @@ <!ENTITY bash-ch6-du "45 MB"> <!ENTITY bash-ch6-sbu "1.7 SBU"> +<!ENTITY bc-version "1.06.95"> +<!ENTITY bc-size "288 KB"> +<!ENTITY bc-url "&alpha-gnu;bc/bc-&bc-version;.tar.bz2"> +<!ENTITY bc-md5 "5126a721b73f97d715bb72c13c889035 "> +<!ENTITY bc-home "&gnu-software;bc/"> +<!ENTITY bc-ch6-du "3 MB"> +<!ENTITY bc-ch6-sbu "0.1 SBU"> + <!ENTITY binutils-version "2.23.2"> <!ENTITY binutils-size "20,938 KB"> <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.bz2"> @@ -175,8 +183,8 @@ <!ENTITY gcc-ch5p1-sbu "5.5 SBU"> <!ENTITY gcc-ch5p2-du "1.8 GB"> <!ENTITY gcc-ch5p2-sbu "7.1 SBU"> -<!ENTITY gcc-ch6-du "2.0 GB"> -<!ENTITY gcc-ch6-sbu "53.5 SBU"> +<!ENTITY gcc-ch6-du "2.2 GB"> +<!ENTITY gcc-ch6-sbu "55.6 SBU"> <!ENTITY gdbm-version "1.10"> <!ENTITY gdbm-size "640 KB"> diff --git a/prologue/standards.xml b/prologue/standards.xml index 287e7bdc2..21a70d191 100644 --- a/prologue/standards.xml +++ b/prologue/standards.xml @@ -59,7 +59,7 @@ <varlistentry> <term><emphasis>LSB Core:</emphasis></term> <listitem> - <para>Bash, Binutils, Coreutils, Diffutils, File, Findutils, Gawk, + <para>Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk, Grep, Gzip, M4, Man-DB, Ncurses, Procps, Psmisc, Sed, Shadow, Tar, Util-linux, Zlib</para> </listitem> @@ -111,7 +111,7 @@ <varlistentry> <term><emphasis>LSB Core:</emphasis></term> <listitem> - <para>At, Batch (a part of At), Bc, Cpio, Ed, Fcrontab, Initd-tools, + <para>At, Batch (a part of At), Cpio, Ed, Fcrontab, Initd-tools, Lsb_release, PAM, Sendmail (or Postfix or Exim) </para> </listitem> </varlistentry> @@ -128,7 +128,7 @@ <listitem> <para>ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig, Glib2, GTK+2, Icon-naming-utils, Libjpeg, Libpng, Libxml2, - MesaLib, Pango, Qt3, Qt4, Xorg</para> + MesaLib, Pango, Qt4, Xorg</para> </listitem> </varlistentry> @@ -178,7 +178,7 @@ <varlistentry> <term><emphasis>LSB Desktop:</emphasis></term> <listitem> - <para>None</para> + <para>Qt3</para> </listitem> </varlistentry> |