home news docs download community FAQ

There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.
-- Jeremy S. Anderson.

Here you can download the latest version of the Nimrod Compiler. Please choose your platform:

The source-based installation has been tested on these systems:

  • Linux: i386, AMD64, PowerPC, ARM
  • BSD: AMD64
  • Mac OS X: i386, AMD64
  • Solaris: AMD64

Other UNIX-based operating systems may work.


Installation on Linux/UNIX

The GNU C Compiler is fully supported, other compilers may work. The C compiler should be in your $PATH (most likely the case). Note that some few Linux distributions do not ship with a GCC compiler preinstalled - then you have to install it.

Install Nimrod by downloading the appropriate .zip file and extracting it to a directory of your choice. The Nimrod Compiler will stay in this directory (unless you copy it somewhere else). The compiler does not need write access to its directory, so copying the nimrod folder to /opt works.

Then run the following command:

sh build.sh

Unlike other software, Nimrod does not distribute its files over the whole file hierarchy. This has the advantage that you can deinstall it by just deleting its folder. The disadvantage is that you have to add it to your PATH manually. An alternative is to create a symbolic link in /usr/bin:

[sudo] ln -s $your_install_dir/bin/nimrod  /usr/bin/nimrod

There are also install.sh and deinstall.sh scripts for distributing the files over the UNIX hierarchy. However, updating your Nimrod installation is more cumbersome then.

Installation on the Macintosh

Only MacOS X is supported. Since MacOS X is UNIX based too, it works like the installation on Linux. However, for unknown reasons the symbolic link method does not work on MacOS X. You need to install Apple's developer's tools for the GNU Compiler Collection.

Installation on Windows

Install Nimrod by downloading and running the nimrod_$version.exe file. As default, the GCC compiler is used that is bundled with this installer. You can change the configuration file config/nimrod.cfg to use another C compiler or change the path to GCC.

Currently, the following C compilers are supported under Windows:

However, most testing is done with GCC.

Bootstrapping from Github

Take a look at the readme file on github here for instructions.