Using the instructions found at www.ats-lang.org/DOWNLOAD you can compile
ATS2 on Mac OS X 10.7+. You’ll need to do the following before you can
compile.
-
Install the latest XCode from the App Store (Currently 4.6.3)
-
Using a package manager (MacPorts http://www.macports.org/), HomeBrewhttp://www.brew.sh)
install GMP. -
Find where GMP is installed, MacPorts puts it in a non-standard
location. Add the lib folder to your ld search path and the include folder
to your include search path.export C_INCLUDE_PATH=/opt/local/include
export DYLD_LIBRARY_PATH=/opt/local/lib -
Follow the regular instructions. When you run “make”, make sure you
disable garbage collection.make GCFLAG=-D_ATS_NGC all
-
(Optional) If you want garbage collection, you can use libgc, available
in MacPorts under “boehmgc”. After installing, you can compile ATS2 withmake GCFLAG=-D_ATS_GCBDW all