Mail Archives: djgpp-announce/2017/04/28/15:26:51
This is a port of GNU bc 1.07.1 to MSDOS/DJGPP.
BC is an arbitrary precision numeric processing language. Syntax is
similar to C, but differs in many substantial areas. It supports
interactive execution of statements. BC is a utility included in the
POSIX P1003.2/D11 draft standard.
This version was written to be a POSIX compliant BC processor with
several extensions to the draft standard. Option flags are available
to cause warning or rejection of the extensions to the POSIX standard.
For those who want only POSIX BC with no extensions, a grammar is
provided for exactly the language described in the POSIX document.
The grammar (sbc.y) comes from the POSIX document. The Makefile
contains rules to make SBC. (for Standard BC)
The package also contains DC. DC is a reverse-polish desk calculator
which supports unlimited precision arithmetic. It also allows you
to define and call macros.
DJGPP specific changes.
=======================
- There are no DJGPP specific changes to the code. Only certain fixes to
the format controlling commands of the different man pages and texinfo
files have been done. Also those changes required to the Makefile to get
certain help programs compiled have been done. This is because the disign
of the Makefile is as usual very posix centric.
- The port has been tested by using it. I have used it on WinXP only.
It has worked flawlessly. I do not konw if this will ever be the case on
FreeDOS. I have never used/tested them in that environment.
- The port has been configured and compiled on WinXP SP3 and Win98SE using
gcc630b and bnu228b. There is no guarantee that this may be possible with
any other DOS-like OS. Due to the massive use of long file names it will
not be possible to configure and compile without LFN support.
- The port does not provide NLS support.
- The port can be configured with readline support enabled. This has NOT
been done. This means that you will have to install the readline libray
that is available as:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/rdln63b.zip
and then to reconfigure and recompile the sources from scratch if you
really want this feature. The zip file contains only the binaries build
without readline support.
As usual, all djgpp specific files (diffs, README files, etc.) are stored in
the /djgpp directory. The sources have been configured to be build in the
/_build directory. If for some reason it does not work for you, delete its
contents and configure from scratch again.
For further information about GNU bc please read the info docs and NEWS file.
This is a verbatim extract of the NEWS file:
-------------------------------------------------------------------------------
This is GNU bc version 1.07.1. (And dc version 1.4.1)
Changes in bc from 1.07 to 1.07.1.
Fixed ibase extension causing problems for read()
Fixed parallel make problem.
Changes in dc 1.4 to 1.4.1.
Fixed dc "Q" comanmd bug.
Changes in bc from 1.06 to 1.07.
Added void functions.
Bug fixes:
fixes bug in load_code introduced by mathlib string storage in 1.06.
fix to get long options working.
signal code clean-up.
fixed a bug in the AVL tree routines.
fixed math library to work properly when called with ibase not 10.
fixed a symbol table bug when using more than 32 names.
removed a double free.
Added base 17 to 36 for ibase.
Fixed some memory leaks.
Various small tweaks and doc bug fixes.
Changes in dc from 1.3 to 1.4:
Recognize and handle tail recursion.
Add 'r' and 'R' commands for stack manipulation.
Finally fix dc to trap interrupts, like the documentation has said it
should: aborts any executing macros, but does not exit the program.
Bug fixes.
Miscellaneous code clean-up.
Changed to detect directories and generate errors.
Detects and reports on any output errors; exits non-success.
-------------------------------------------------------------------------------
The port consists of the usual three packages produced using djdev205
that can be downloaded from ftp.delorie.com and mirrors as (time stamp 2017-04-24):
bc 1.07.1 binaries, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bc1071b.zip
bc 1.07.1 dvi, html, pdf and ps format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bc1071d.zip
bc 1.07.1 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bc1071s.zip
Send BC specific bug reports to <bug-bc AT gnu DOT org> and DC specific
bug reports to <bug-dc AT gnu DOT org>.
Send suggestions and bug reports concerning the DJGPP port to
comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT gmx DOT de>
- Raw text -