Vishap Oberon Compiler http://oberon.vishap.am
Find a file
Norayr Chilingarian 54aa81283c Sets.Mod added to makefile
Former-commit-id: 938c3786c8
2014-01-24 18:27:12 +04:00
src Sets.Mod ported, works for 64 bit too 2014-01-24 18:24:26 +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 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 Sets.Mod added to makefile 2014-01-24 18:27:12 +04:00
makefile.gnuc.armv6j Sets.Mod added to makefile 2014-01-24 18:27:12 +04:00
makefile.gnuc.armv6j_hardfp Sets.Mod added to makefile 2014-01-24 18:27:12 +04:00
makefile.gnuc.armv7a_hardfp Sets.Mod added to makefile 2014-01-24 18:27:12 +04:00
makefile.gnuc.powerpc Sets.Mod added to makefile 2014-01-24 18:27:12 +04:00
makefile.gnuc.x86 Sets.Mod added to makefile 2014-01-24 18:27:12 +04:00
makefile.gnuc.x86_64 Sets.Mod added to makefile 2014-01-24 18:27:12 +04:00
ocat OakFiles, added WriteByte to be more compatible with PO 2013 -- noch 2014-01-22 14:35:18 +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 OakFiles, added WriteByte to be more compatible with PO 2013 -- noch 2014-01-22 14:35:18 +04:00
voc.par voc compiler first commit 2013-09-27 22:34:17 +04:00
voc.REMOVED.git-id OakFiles, added WriteByte to be more compatible with PO 2013 -- noch 2014-01-22 14:35:18 +04:00
vocparam voc compiler first commit 2013-09-27 22:34:17 +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 Kernel.Mod fixed, so that MODULES variable is always checked first. 2013-11-14 18:47:49 +04:00
vocstatic.REMOVED.git-id Kernel.Mod fixed, so that MODULES variable is always checked first. 2013-11-14 18:47:49 +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