mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
14d6b3e0e1
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2394 af4574ff-66df-0310-9fd7-8a98e5e911e0
87 lines
2.5 KiB
XML
87 lines
2.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY bc-download-http "http://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
|
|
<!ENTITY bc-download-ftp "ftp://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
|
|
<!ENTITY bc-size "280 KB">
|
|
<!ENTITY bc-buildsize "1.6 MB">
|
|
<!ENTITY bc-time "0.07 SBU">
|
|
|
|
]>
|
|
|
|
<sect1 id="bc" xreflabel="bc-&bc-version;">
|
|
<?dbhtml filename="bc.html"?>
|
|
<title>bc-&bc-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>bc</application></title>
|
|
|
|
<para>The <application>bc</application> package contains
|
|
an arbitrary precision numeric processing language.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink
|
|
url="&bc-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink
|
|
url="&bc-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download size: &bc-size;</para></listitem>
|
|
<listitem><para>Estimated Disk space required:
|
|
&bc-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time:
|
|
&bc-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title>Additional downloads</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Required Patch: <ulink
|
|
url="&patch-root;/bc-&bc-version;-flex_invocation-1.patch"/></para></listitem>
|
|
<listitem><para>Required Patch: <ulink
|
|
url="&patch-root;/bc-&bc-version;-readline-1.patch"/></para></listitem>
|
|
</itemizedlist></sect3>
|
|
|
|
<sect3><title><application>bc</application> dependencies</title>
|
|
<sect4><title>Required</title>
|
|
<para><xref linkend="readline"/></para></sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <command>bc</command></title>
|
|
|
|
<para>Install <command>bc</command> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>patch -Np1 -i ../bc-&bc-version;-flex_invocation-1.patch &&
|
|
patch -Np1 -i ../bc-&bc-version;-readline-1.patch &&
|
|
./configure --prefix=/usr --with-readline &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>bc</application> package contains
|
|
<command>bc</command> and
|
|
<command>dc</command>.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>bc</title>
|
|
<para><command>bc</command> is a calculator.</para></sect3>
|
|
|
|
<sect3><title>dc</title>
|
|
<para><command>dc</command> is a reverse-polish calculator.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|