Vishap Oberon Compiler http://oberon.vishap.am
Find a file
2014-04-10 14:03:53 +04:00
src changed long to unsigned long in SYSTEM.h and SYSTEM.c0 to silence clang 2014-04-10 14:03:53 +04:00
05vishap.conf linux clang platform added 2014-03-27 16:44:51 +04:00
CHANGES prefixed installation now works. 2014-03-20 21:11:03 +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 extTools fixed for non 64bit architectures, SysStat can now be compiled on 32bit architectures 2013-11-06 00:10:20 +04:00
LICENSE Initial commit 2013-09-27 08:55:16 -07:00
makefile separated Kernel, Files. Texts modules for bootstrapping and general use 2014-03-21 04:00:44 +08:00
makefile.darwin.clang.x86_64 static and dynamic linking works on macosx -- noch 2014-03-21 06:53:33 +08:00
makefile.linux.clang.x86_64 linux clang platform added 2014-03-27 16:44:51 +04:00
makefile.linux.gnuc.armv6j separated Kernel, Files. Texts modules for bootstrapping and general use 2014-03-21 04:00:44 +08:00
makefile.linux.gnuc.armv6j_hardfp separated Kernel, Files. Texts modules for bootstrapping and general use 2014-03-21 04:00:44 +08:00
makefile.linux.gnuc.armv7a_hardfp separated Kernel, Files. Texts modules for bootstrapping and general use 2014-03-21 04:00:44 +08:00
makefile.linux.gnuc.powerpc separated Kernel, Files. Texts modules for bootstrapping and general use 2014-03-21 04:00:44 +08:00
makefile.linux.gnuc.x86 separated Kernel, Files. Texts modules for bootstrapping and general use 2014-03-21 04:00:44 +08:00
makefile.linux.gnuc.x86_64 separated Kernel, Files. Texts modules for bootstrapping and general use 2014-03-21 04:00:44 +08:00
ocat changed long to unsigned long in SYSTEM.h and SYSTEM.c0 to silence clang 2014-04-10 14:03:53 +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.REMOVED.git-id changed long to unsigned long in SYSTEM.h and SYSTEM.c0 to silence clang 2014-04-10 14:03:53 +04:00
voc.par voc compiler first commit 2013-09-27 22:34:17 +04:00
voc.REMOVED.git-id changed long to unsigned long in SYSTEM.h and SYSTEM.c0 to silence clang 2014-04-10 14:03:53 +04:00
vocparam eventually, macosx version. can compile itself. 2014-03-20 07:04:05 +08:00
vocstatic.darwin.clang.x86_64.REMOVED.git-id fixed problem with short prefix path in version module 2014-03-21 04:22:23 +08:00
vocstatic.linux.clang.x86_64.REMOVED.git-id changed long to unsigned long in SYSTEM.h and SYSTEM.c0 to silence clang 2014-04-10 14:03:53 +04:00
vocstatic.linux.gnuc.armv6j_hardfp.REMOVED.git-id voc compiler first commit 2013-09-27 22:34:17 +04:00
vocstatic.linux.gnuc.powerpc.REMOVED.git-id powerpc bootstrap binary 2014-01-08 05:22:50 +04:00
vocstatic.linux.gnuc.x86.REMOVED.git-id bootstrap binary for x86 updated 2013-11-06 16:05:53 +04:00
vocstatic.linux.gnuc.x86_64.REMOVED.git-id changed long to unsigned long in SYSTEM.h and SYSTEM.c0 to silence clang 2014-04-10 14:03:53 +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