I have been running SmallBasic on Linux (Ubuntu 16.04LTS) and also a Raspberry Pi and an Odroid C2 for a while now. However, I have always wanted to get it running on my Apple Mac. Having had some spare time recently I had a go and the following outlines the sequence I used to achieve this.
Setup and required packages for MacOSX (Sierra 10.12.5).
I already had the Xcode command line tools (which includes git, gcc and g++) and brew (package manager) installed on my system. However, it is fairly straight forward to set this up.