Building Algol 68 Genie Version 2.3.1 for Mac OS X

Today is 2011 Sept 19. I am using Mac OS X 10.7.1 and clang 2.1 which comes with Xcode 4.1 .

From this page I found the link to algol68g-2.3.1.tgz which I placed in a new directory where “openssl sha algol68g-2.3.1.tgz” yields e293cbe968eca3b1b3b81b633da0308cc40f9e2f for me. Then I do:

tar -xzf algol68g-2.3.1.tgz
rm algol68g-2.3.1.tgz
cd algol68g-2.3.1
This produces a sub directory algol68g-2.3.1 which becomes our working directory. Proceeding apace:
This makes note of what facilities are available on my machine. To work around a bug in gcc I modify “CC = gcc” to “CC = clang” in file Makefile. Now:
Clang worries that there are three printf statements whose format argument is not a string literal. I ignore this warning. The make command produced the executable file a68g which I compressed to become a68g231.gz. If your browser does not expand that file the shell command “gunzip a68g231.gz” will do so. You explain to the kernel that the new file is executable with the shell command “chmod 755 a68g” whereupon:
./a68g -v
Algol 68 Genie 2.3.1
Copyright (c) 2011 Marcel van der Veer .

This is free software covered by the GNU General Public License.
There is ABSOLUTELY NO WARRANTY for Algol 68 Genie;
See the GNU General Public License for more details.

Please report bugs to Marcel van der Veer .

Interpreter is available, compiler is not available.
Parallel-clause is available.
PostgreSQL is available.
This version is for 64 bit pointers. It will not work on Intel 32 bit systems. I moved the file a68g into the directory ~/bin whereupon the command a68g invokes the new compiler. I hope that this is a 32 bit version that will run on earlier Macs.
See this for older versions of Marcel’s compiler.
the manual.