-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
65 lines (34 loc) · 1.75 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
INTRODUCTION
OBNC is a compiler for Niklaus Wirth's programming language Oberon. It translates Oberon modules into C code. The build command (obnc) invokes both the Oberon compiler (obnc-compile) and the host C compiler and sorts out all dependencies.
OBNC follows POSIX standard. This implies that it should compile and run on a POSIX compatible operating system.
INSTALLATION
1. Make sure you have Boehm-Demers-Weiser's garbage collector GC installed on your system. To use the basic library modules Input and XYplane you also need SDL (Simple DirectMedia Layer). On a Debian system you install these dependencies with the command
apt install libgc-dev libsdl1.2-dev
2. Compile OBNC with the command
./build
By default OBNC is built to be installed in /usr/local. If you want to use installation directory D instead, add `--prefix=D' to the build command. For other build options, run `./build -h'.
3. Optionally, run unit tests with the command
./test
4. Install OBNC with the command
./install
To undo the installation, run `./install u'. For other installation options, run `./install -h'.
COMMANDS
bin/obnc
Oberon build tool
bin/obnc-compile
Oberon-to-C compiler
bin/obnc-path
Oberon module finder
bin/obncdoc
Oberon documentation generator
DOCUMENTATION
share/doc/obnc/oberon-report.html
Oberon language reference
share/doc/obnc/obncdoc/obnc
Basic library modules
share/man/man1/
OBNC commands
LICENSE
OBNC is released under the GNU General Public License (see file COPYING), with the exception of library source files in lib/obnc which are released under the Mozilla Public License (see file lib/obnc/LICENSE). Copyright years written as a range means that each year in the range is "copyrightable."
AUTHOR
Karl Landstrom <karl@miasap.se>