We are making progress porting SPITBOL to Apple’s OSX operating system. The needed files can be found in
The repository can be downloaded by the command
$ git clone http://github.com/hardbol/spitbol/osx
The makefile has been modified to have 64-bit osx as the default, so to build the system do
$ make
Test spitbol by running various test programs in the subdirectory .text/. For example
$ ./spitbol test/hi.spt
To see if the program runs at all, try
$ ./spitbol
This produces several lines with help information. Note that running spitbol with no arguments just shows the program link is complete and that at least part of the C runtime is working. This does not test any of the translation of the Minimal source code to assembler.
The current status is that the help text can be printed, but even the simplest test yields
Bus error: 10
We will keep you posted.
On a separate front, one user reported problems building 32-bit SPITBOL. The makefile has been updated so that it works using gcc on a 32-bit Linux system.
2 Comments
the command to clone the repository didn’t work. I used
git clone http://github.com/hardbol/osx
debug didn’t work with the cloned makefile. a. I think the ASMOPTS definition for debug needs to be
ASMOPTS = -g -f $(ELF) -d $(TARGET) -d m$(WS)
Howard,
Try the latest version. Also, please accept invitation to join discussion of SPITBOL at slack.com.
thanks,dave