Vishap Oberon Compiler http://oberon.vishap.am
Find a file
Norayr Chilingarian 5d683e6727 excluded compiler (non library) object files from libraries.
synced linux and macosx makefiles more


Former-commit-id: e0a915b319
2014-03-20 21:51:08 +04:00
src prefixed installation now works. 2014-03-20 21:11:03 +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 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 excluded compiler (non library) object files from libraries. 2014-03-20 21:51:08 +04:00
makefile.darwin.clang.x86_64 excluded compiler (non library) object files from libraries. 2014-03-20 21:51:08 +04:00
makefile.linux.gnuc.armv6j excluded compiler (non library) object files from libraries. 2014-03-20 21:51:08 +04:00
makefile.linux.gnuc.armv6j_hardfp excluded compiler (non library) object files from libraries. 2014-03-20 21:51:08 +04:00
makefile.linux.gnuc.armv7a_hardfp excluded compiler (non library) object files from libraries. 2014-03-20 21:51:08 +04:00
makefile.linux.gnuc.powerpc excluded compiler (non library) object files from libraries. 2014-03-20 21:51:08 +04:00
makefile.linux.gnuc.x86 excluded compiler (non library) object files from libraries. 2014-03-20 21:51:08 +04:00
makefile.linux.gnuc.x86_64 excluded compiler (non library) object files from libraries. 2014-03-20 21:51:08 +04:00
ocat prefixed installation now works. 2014-03-20 21:11:03 +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 prefixed installation now works. 2014-03-20 21:11:03 +04:00
voc.par voc compiler first commit 2013-09-27 22:34:17 +04:00
voc.REMOVED.git-id prefixed installation now works. 2014-03-20 21:11:03 +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 eventually, macosx version. can compile itself. 2014-03-20 07:04:05 +08: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 Files, Kernel changes to eliminate warnings under darwin 2014-03-19 04:20:47 +04:00
vocstatic.REMOVED.git-id eventually, macosx version. can compile itself. 2014-03-20 07:04:05 +08: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