Today is 2012 July 8. I am using Mac OS X 10.7.4 and gcc 4.2.1 which comes with Xcode 4.3.2 . Here I describe how I built a68g241.gz which should run on 64 bit Intel Macs.
From this page I found the link (with text “Latest source code”) to algol68g-2.4.1.tar.gz which I placed in a new directory where the command “openssl sha algol68g-2.4.1.tar.gz” yields cd0e16a5079deafb310fc553ac766a1620945741. Then I do:
gunzip algol68g-2.4.1.tar.gz tar -xzf algol68g-2.4.1.tar rm algol68g-2.4.1.tar cd algol68g-2.4.1This produces a sub directory algol68g-2.4.1 which becomes our working directory. Proceeding apace:
./configureThis makes note of what facilities are available on my machine. Now:
makeThe make command produces the executable file a68g which I compress with command “gzip a68g” and rename the result a68g241.gz. If your browser does not expand that file the shell command “gunzip a68g241.gz” will do so. Just now Safari decompresses the file when you click on it but does not delete the “.gz” suffix. The compressed file is about 560KB and the uncompressed is about 1.6 MB. My server sends the compressed file! You explain to the kernel that the new uncompressed file is executable with the shell command “chmod 755 a68g241 ” whereupon “./a68g241 -v” yields:
Algol 68 Genie 2.4.1 Copyright (c) 2012 Marcel van der VeerThis 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.. This is free software covered by the GNU General Public License. There is ABSOLUTELY NO WARRANTY for Algol 68 Genie; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Please report bugs to Marcel van der Veer . Compilation is supported. Editor is supported. Parallel-clause is supported. Curses is supported. Regular expressions are supported. TCP/IP is supported. GNU libplot is not supported. GNU Scientific Library is not supported. PostgreSQL is supported.