Building Algol 68 Genie Version 2.0.3 for Mac OS X

Today is 2010 Dec 2. I am using Mac OS X 10.6.5 and gcc 4.2.1 which comes with Xcode 3.2.3 . I am taking clues from section 9.3.2.2 (page 201) of the manual.

From this page I found the link to algol68g-2.0.3.tgz which I placed in a new directory where I did the commands:

tar -xzf algol68g-2.0.3.tgz
rm algol68g-2.0.3.tgz
cd algol68g-2.0.3
This produces a sub directory algol68g-2.0.3 which becomes our working directory. Proceeding apace:
./configure --threads -O2
make
which took less than a minute on my 1.8 MHz Intel Mac. The make command produced the executable file a68g which I compressed to become a68g.gz. If your browser does not expand that file the shell command “gunzip a68g.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 Version 2.0.3 (released December 2010), copyright 2001-2010 J. Marcel van der Veer.
Algol 68 Genie 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.

Compiled on Darwin 10.5.0 with gcc 4.2.1
Configured on  2 December 2010 10:36 with options "--threads -O2"
Alignment 4 bytes
Default frame stack size: 3072 kB
Default expression stack size: 1024 kB
Default heap size: 24576 kB
Default handle pool size: 4096 kB
Default stack overhead: 512 kB
Effective system stack size: 8192 kB
My CPU understands only 32 bit pointers. I think this will work on Intel 64 bit systems but not support very large calculations. I moved the file a68g into the directory ~/bin whereupon the command a68g invokes the new compiler.
See this for older versions of Marcel’s compiler.