Compilers

The GNU Ada Translator (GNAT) component of the GNU GCC has been ported to MacOS X from several sources notably:

    FSF gcc Source Tree

    Apples gcc Source Tree

    ACT’s Mac Port.

You can select the port that best suits your needs.  The Apple gcc port is available for OS X 10.1 - 10.3, but not for 10.4.  The 10.4 Compiler is based upon the FSF sources.  ACT’s Macintosh port is available as well for 10.4. Please note that it has severe license restrictions on use for projects which are not open source.  It is also not currently available for the new Intel based Macintoshes. See the Downloads page for more information.

Alan and Andrew Reynolds share primary responsibility for the MacAda compiler port.


Debuggers

Stephen Bespalko has enhanced the MacOS X gdb with Ada Language support as well as integrating it to work as part of Apples IDE XCode visual debugger. The ACT port has available GPS for use as a standalone iDE and Visual Debugger.  See the Downloads page for more information.

Tools

There are on various tools that do not fall into the categories above available here as well.  These include integration with existing tools like XCode and Interface Builder, as well as custom tools developed for MacOS X in Ada such as Jim Hoppers Lookup, and Reformat GUI. Jim Hopper has primary responsibility for this area of the project. See the Downloads page for more information.

Bindings

There are Ada bindings for a number of technologies available, such as bindings for the MacOS X development frameworks (Carbon), X11, GtkAda, and others. Significant portions of the carbon bindings are available to Ada which were created by Jim Hopper, Al and Andrew Reynolds, as well as Pascal Pignard. So far only non-Cocoa interfaces are available.  A group of people on the mailing list are currently working on Cocoa bindings right now.

Jim Hopper has primary responsibility for this part of the project. See the Downloads page for more information. See the Downloads page for more information.

Sample Code

An array of Sample code is available to demonstrate using the carbon bindings, X11, Gtk, etc. The Carbon sample code is composed of direct translations of Apples sample code from c to Ada, as well as more elaborate porting efforts to make better use of Ada and OS X Carbon.

A good example of this is the buffered window sample code which was updated to use Ada tasking to simplify the code that originally used lower-level pthreads calls.

Jim Hopper, Andrew Reynolds, and Pascal Pignard produced this sample code from Apples Carbon Sample Code. See the Downloads page for more information.