https://github.com/ibara/nbc
Portable NetBSD bc(1) calculator.
https://github.com/ibara/nbc
Last synced: 8 months ago
JSON representation
Portable NetBSD bc(1) calculator.
- Host: GitHub
- URL: https://github.com/ibara/nbc
- Owner: ibara
- Created: 2018-05-03T00:35:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-29T06:15:44.000Z (over 7 years ago)
- Last Synced: 2025-04-01T01:51:41.603Z (10 months ago)
- Language: C
- Homepage:
- Size: 69.3 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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:
* clang (https://llvm.org/)
* gcc (https://gcc.gnu.org/)
* pcc (http://pcc.ludd.ltu.se/)
* cparser (https://pp.ipd.kit.edu/firm/)
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.