vishapoberon / compiler

vishap oberon compiler
http://oberon.vishap.am
GNU General Public License v3.0
186 stars 25 forks source link

x11 examples #81

Closed norayr closed 4 years ago

norayr commented 4 years ago

don't work for two reasons. first - "MODULES" environment variable is not used any more. so the test program can be compiled with

CFLAGS="-lX11" voc -s ../../../library/oocX11/oocX11.Mod ../../../library/oocX11/oocXutil.Mod ../../../library/oocX11/oocXYplane.Mod  IFS.Mod IFStest.Mod -m

second - if you manage to compile the wrappers and the example applications, now they crash, at least one of them - IFStest crashes.

noch@localhost ~/voc/src/test/x11/IFS $ ./IFStest 
Terminated by Halt(-20). Too many, or negative number of, elements in dynamic array.

Need to investigate, that's why I am opening this issue to not forget.

norayr commented 4 years ago

this is fixed: https://github.com/vishaps/voc/pull/85