Portable NetBSD bc(1) calculator.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CVS
README.md
bc.1
bc.y
bcdefs.h
configure
const.h
execute.c
global.c
global.h
libmath.b
libmath.h
load.c
main.c
number.c
number.h
proto.h
scan.l
storage.c
util.c
warranty.c

README.md

NetBSD bc

NetBSD bc is a BSD-licensed bc(1) implementation that comes with the NetBSD Operating System.

Supported systems

NetBSD bc should run on any minimally POSIX operating system. Pull requests are much appreciated to support more operating systems.

Supported compilers

NetBSD bc is known to build with the following C compilers:

Building with a compiler not listed here? Add it and send a pull request!

Dependencies

Any C89 compiler should be able to compile NetBSD bc. Please see the list of C compilers above for a list of known working compilers.

Additionally, libedit and libreadline are checked to see if they are available. If one is, NetBSD bc will link with it for command-line editing. If neither are present, NetBSD bc will still compile, but will not have command-line editing support.

Compiling

$ ./configure
$ make
$ sudo make install

License

BSD. See individual file headers for more details.