Post by miasapHi everyone,
I have just released a compiler for the Oberon programming language
called OBNC. It is released under the GNU General Public License.
Please, try it out!
http://miasap.se/obnc/
Best regards,
Karl
Hi Karl,
I like it! Under Linux Mint the installation procedure worked as expected. I especially like the clear documentation and the easy way one can get started to compile and run Oberon-07 programs.
I also tried to get it installed and running under macOS Sierra (10.12.5).
Installing the BDW garbage collector and the SDL framework is done a bit differently under macOS.
apt install libgc-dev libsdl1.2-dev
or
apt-get install libgc-dev libsdl1.2-dev
didn't work. I got messages like "Couldn't find package libgc-dev".
For libgc this worked:
brew install bdw-gc
So you will have to install the homebrew package manager first (https://brew.sh/ ).
Also installed SDL1.2 for macOS:
- downloaded SDL-1.2.15.dmg from http://www.libsdl.org/download-1.2.php
- copied the file SDL.framework to /Library/Frameworks
After this ./build worked correctly.
But ./test gave the following messages:
cd /Users/hk/Downloads/obnc-0.7.1/src
./MapsTest
./test: line 27: 6514 Segmentation fault: 11 ./MapsTest
Then ./install seems to work correctly. Everything gets intstalled as far as I can see. But when trying to compile hello.obn with
obnc hello.obn
Nothing seems to happen, no error message, no compilation.
Could you suggest something to make obnc work under macOS?
Thanks,
Hans Klaver