Gnat has been ported to many platforms, including Mac OS, DOS, Windows XP/NT and Linux. When installed you also have access to the GNU C compiler.
You can get the gnat compiler at ftp://cs.nyu.edu/public/gnat for most hosts, and at www.macada.org for the OS X version.
The programs come with installers.