Vishap Oberon Compiler http://oberon.vishap.am
Find a file
2013-10-30 21:47:34 +04:00
src ported MersenneTwister to voc 2013-10-30 21:40:23 +04:00
05vishap.conf ulmIO.Mod changed and now it works with 64 bit longint numbers. 2013-10-16 01:56:09 +04:00
changes voc compiler first commit 2013-09-27 22:34:17 +04:00
COMPILE improved makefiles, now it's easier to build a compiler. 2013-10-18 19:05:05 +04:00
FAQ ulmEvents.Mod does not use C/asm code anymore. getaddr code procedure is 2013-10-10 19:16:50 +04:00
hints updated hints file with known bug about shifting variables of set type 2013-10-30 21:47:34 +04:00
LICENSE Initial commit 2013-09-27 08:55:16 -07:00
makefile updated makefile 2013-10-30 21:41:31 +04:00
makefile.gnuc.armv6j added Printer module from V4 system/ofront 2013-10-26 18:56:03 +04:00
makefile.gnuc.armv6j_hardfp added Printer module from V4 system/ofront 2013-10-26 18:56:03 +04:00
makefile.gnuc.armv7a_hardfp added Printer module from V4 system/ofront 2013-10-26 18:56:03 +04:00
makefile.gnuc.x86 added Printer module from V4 system/ofront 2013-10-26 18:56:03 +04:00
makefile.gnuc.x86_64 added Printer module from V4 system/ofront 2013-10-26 18:56:03 +04:00
ocat oocSysClock now don't use C calls, but use Unix.Mod instead. 2013-10-30 19:55:27 +04:00
quick_start voc compiler first commit 2013-09-27 22:34:17 +04:00
README.md ulmEvents.Mod does not use C/asm code anymore. getaddr code procedure is 2013-10-10 19:16:50 +04:00
showdef oocSysClock now don't use C calls, but use Unix.Mod instead. 2013-10-30 19:55:27 +04:00
voc oocSysClock now don't use C calls, but use Unix.Mod instead. 2013-10-30 19:55:27 +04:00
voc.par voc compiler first commit 2013-09-27 22:34:17 +04:00
vocparam voc compiler first commit 2013-09-27 22:34:17 +04:00
vocstatic oocSysClock now don't use C calls, but use Unix.Mod instead. 2013-10-30 19:55:27 +04:00
vocstatic.linux.gnuc.armv6j_hardfp voc compiler first commit 2013-09-27 22:34:17 +04:00
vocstatic.linux.gnuc.x86 improved makefiles, now it's easier to build a compiler. 2013-10-18 19:05:05 +04:00
vocstatic.linux.gnuc.x86_64 oocSysClock now don't use C calls, but use Unix.Mod instead. 2013-10-30 19:55:27 +04:00

voc

vishap oberon compiler

How to install - see COMPILE file.

How to use:

Type voc and it'll show you help.

voc -M will compile your module and link it statically to libVishapOberon. voc -m will link the module dynamically.

If you have more than one module, and you want them to be compiled into elf filethen: Let's assume we have module M0 which imports M1;

voc -l M1.Mod -s M0.Mod -M

Here -l is a global option. Module M1 will be compiled with -s option, i. e. sym file will be generated.

Module M0 will be compiled and linked statically.

In case you have modules in different directories, like "ui", "logic", "math", then you need to export MODULES environment variable like this:

export MODULES=".:ui:logic:math"

and after call voc

voc -s ui0.Mod

Otherwise you can use full path:

voc -s ui/ui0.Mod