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
Over the past few days I have taken an interest in writing my own linker scripts, start code and a CRT0 (C Runtime) http://www.theresistornetwork.com/2013/09/arm-bare-metal-programming.html
#arm #programming #c #runtime #crt0 #linking
#story about #linking #Pascal and #Oberon: http://norayr.arnet.am/log/?p=11