From 1fb7bae85621e54e472bda251f39dbd9cdb2a8f6 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 30 Apr 2013 00:23:37 +0000 Subject: Add bc to Chapter 6 to support Linux-3.9 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10258 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/bc.xml | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 chapter06/bc.xml (limited to 'chapter06/bc.xml') 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 @@ + + + %general-entities; +]> + + + + + + bc + &bc-version; +
&bc-url;
+
+ + Bc-&bc-version; + + + Bc + + + + + + <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 + + Prepare Bc for compilation: + +./configure --prefix=/usr --with-readline + + + The meaning of the configure options: + + + --with-readline + + This option tells Bc to use the readline library that is already + installed on the system rather than using its own readline + version. + + + + + + Compile the package: + +make + + 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. + +echo "quit" | ./bc/bc -l Test/checklib.b + + Install the package: + +make install + + + + + Contents of Bc + + + Installed programs + + + bc and dc + + + + + Short Descriptions + + + + + bc + + is a command line calculator + + bc + + + + + + dc + + is a reverse-polish command line calculator + + dc + + + + + + + + +
-- cgit v1.2.3-54-g00ecf