source: BOOK/final-system/common/bc.xml@ 3a08b23

sysvinit
Last change on this file since 3a08b23 was 35f9d48, checked in by William Harrington <kb0iic@…>, 9 years ago

BC memoryh leak patch.

  • Property mode set to 100644
File size: 2.4 KB
Line 
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-system-bc" role="wrap">
9 <?dbhtml filename="bc.html"?>
10
11 <title>Bc-&bc-version;</title>
12
13 <indexterm zone="ch-system-bc">
14 <primary sortas="a-Bc">Bc</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Bc package contains an arbitrary precision numeric processing language.</para>
21
22 </sect2>
23
24 <sect2 role="installation">
25 <title>Installation of Bc</title>
26
27 <para os="p1">Fix memory leaks:</para>
28
29<screen os="p2"><userinput>patch -Np1 -i ../bc-1.06.95-memory_leak-1.patch</userinput></screen>
30
31 <para os="a">Prepare Bc for compilation:</para>
32
33<screen os="b"><userinput>./configure --prefix=/usr --with-readline \
34 --mandir=/usr/share/man --infodir=/usr/share/info</userinput></screen>
35
36 <para os="c">Compile the package:</para>
37
38<screen os="d"><userinput>make</userinput></screen>
39
40 <para os="e">To test the results, issue:</para>
41
42<screen os="e2"><userinput remap="test">echo "quit" | ./bc/bc -l Test/checklib.b</userinput></screen>
43
44 <para os="f">Install the package:</para>
45
46<screen os="g"><userinput>make install</userinput></screen>
47
48 </sect2>
49
50 <sect2 id="contents-bc" role="content">
51 <title>Contents of Bc</title>
52
53 <segmentedlist>
54 <segtitle>Installed programs</segtitle>
55
56 <seglistitem>
57 <seg>bc, dc</seg>
58 </seglistitem>
59 </segmentedlist>
60
61 <variablelist>
62 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
63 <?dbfo list-presentation="list"?>
64 <?dbhtml list-presentation="table"?>
65
66 <varlistentry id="bc">
67 <term><command>bc</command></term>
68 <listitem>
69 <para>is a command line calculator</para>
70 <indexterm zone="ch-system-bc bc">
71 <primary sortas="b-bc">bc</primary>
72 </indexterm>
73 </listitem>
74 </varlistentry>
75
76 <varlistentry id="dc">
77 <term><command>dc</command></term>
78 <listitem>
79 <para>is a reverse-polish command line calculator</para>
80 <indexterm zone="ch-system-bc dc">
81 <primary sortas="b-dc">dc</primary>
82 </indexterm>
83 </listitem>
84 </varlistentry>
85
86 </variablelist>
87
88 </sect2>
89
90</sect1>
Note: See TracBrowser for help on using the repository browser.