GNAT - Ada compiler, part of GCC

The Ada front end for GCC started out life outside of the FSF GCC tree as a projected funded by the (now defunct) Ada Joint Program Office (AJPO). In the 90's the AJPO funded NYU to develop an Ada 95 compiler. GNAT was merged into the FSF tree and became stable within that tree sometime in the late GCC 3.X series.

General information about Ada and to a large extent GNAT can be found at the wikibooks Ada page. GNAT now supports Ada 95, Ada 2005 and Ada 2012 versions of the Ada standard.

How do I download/install GNAT on my system?

In many cases, it is either pre-installed on most GNU/Linux distributions or can be installed with the appropriate package management commands.

For other platforms and more details, see Installing Ada in the wikibook.

Common Questions about GNAT

No. GNAT does not and never did translate Ada code to C code. It translates Ada in the same way that the C front end translates C. Further adding to this confusion is the fact that earlier versions of GNAT did create a single .c file to call the elaboration code of each of the Ada packages but at no time was any of the user code translated into C.

None: GNAT (last edited 2012-03-28 07:02:06 by 82)