2013-10-08-390106

https://github.com/norayr/voc/commit/a3214b81549d7c1d4654c62af52514261ed08ed0

different modules can be now compiled into one elf at once (no separate linking command needed). for example, if M0 imports M1 then

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

where -l is a global option (show line numbers, I don’t use it, I need only position, and do :goto in vim to get it)

-s means generate symbol file, we need it to compile M0, and check types throughout module boundaries

-M means generate main module and link it statically to libVishapOberon.

#voc #vishap-oberon #oberon #oberon-2 #compiler #linking #programming

բնօրինակ սփիւռքում(եւ մեկնաբանութիւննե՞ր)

պիտակներ՝ voc  vishap-oberon  oberon  oberon-2  compiler  linking  programming