World Library  
Flag as Inappropriate
Email this Article


Ada source within GPS
Developer(s) New York University (NYU), AdaCore and the GNU Project
Initial release 1995 (1995)
Stable release

FSF GNAT 4.9.2[1]

GNAT Pro 7.2.1 (2014-02-10)[2]
Operating system FreeBSD, GNU/Linux,
Microsoft Windows,
Mac OS X,
plus others as supported by FSF GNAT within GCC
Type Compiler
License GNU GPL 3+ with GCC Runtime Library Exception[3]
Website .com.getadanowwww - FSF GNAT
//gnatpro/ GNAT Pro

GNAT is a free-software compiler for the Ada programming language which forms part of the GNU Compiler Collection. It supports all versions of the language, i.e. Ada 2012, Ada 2005, Ada 95 and Ada 83. Originally its name was an acronym that stood for GNU NYU Ada Translator, but that name no longer applies. The front-end and run-time are written in Ada.


  • History 1
  • License 2
  • Versions 3
  • See also 4
  • References 5
  • Further reading 6
  • External links 7


The GNAT project started in 1992 when the United States Air Force awarded New York University (NYU) a contract to build a free compiler for Ada to help with the Ada 9X standardization process. The 3-million-dollar contract required the use of the GNU GPL for all development, and assigned the copyright to the Free Software Foundation. The first official validation of GNAT happened in 1995.

In 1994 and 1996, the original authors of GNAT founded two sister companies, Ada Core Technologies in New York City and ACT-Europe in Paris, to provide continuing development and commercial support of GNAT. The two companies merged as AdaCore in 2004.[4]

GNAT was initially released separately from the main GCC sources. On October 2, 2001 the GNAT sources were contributed to the GCC CVS repository.[5] The last version to be released separately was GNAT 3.15p, based on GCC 2.8.1, on October 2, 2002. Starting with GCC 3.4, on major platforms the official GCC release is able to pass 100% of the ACATS Ada tests included in the GCC testsuite. In GCC 4.0, more exotic platforms are also able to pass 100% of ACATS.


The compiler is licensed under the terms of the GNU GPL 3+ with GCC Runtime Library Exception.[3]

All versions leading up to and including 3.15p are licensed under the GMGPL offering similar runtime exceptions. The GMGPL license is GNU GPL 2 with a linking exception that permits software that with licenses that are incompatible with the GPL to be linked with the output of Ada standard generic libraries that are supplied with GNAT without breaching the license agreement.


FSF GNAT is part of most major GNU/Linux or BSD distributions and is included in the main GCC Sources.

GNAT Pro is a supported version of GNAT from AdaCore.

In addition to FSF GNAT and AdaCore's GNAT Pro, AdaCore releases additional versions (GNAT-GPL, a public older version of GNAT Pro, and GNAT GAP, a version for AdaCore's educational programs).[6] These AdaCore versions have the runtime exceptions removed, this requires software that is linked with the standard libraries to have GPL-compatible licenses to avoid being in breach of the license agreement.

JGNAT is a GNAT version that compiles from the Ada programming language to Java bytecode. GNAT for dotNET is a GNAT version that compiles from the Ada programming language to Common Language Infrastructure for the .NET Framework and the free and open source implementations Mono and Portable.NET.

See also


  1. ^
  2. ^ "Announcing the immediate release of GNAT Pro 7.2.1". 
  3. ^ a b "GCC Runtime Library Exception". Retrieved 2013-02-28. 
  4. ^ GNAT Pro Insider Autumn/Winter 2014–2015, p.1
  5. ^ GCC CVS mailing list archive "New language: Ada"
  6. ^ AdaCore Libre Site. "Technology Comparison Chart". Retrieved 9 April 2015. 

Further reading

  • Javier Miranda, Edmond Schonberg (June 2004). GNAT: The GNU Ada Compiler. Retrieved 2008-06-06. 
  • Edmond Schonberg, Bernard Banner (1994). "The GNAT project". Proceedings of the conference on TRI-Ada '94. ACM. pp. 48–57.  

External links

  • History of the GNAT Project
  • GNAT in the GCC wiki
  • FSF GNAT installation instructions for major platforms
  • The GNU Ada Project — more FSF versions of GNAT
  • Debian Ada Policy — packaging of GNAT and other Ada programs in Debian
  • Write It in Ada — Run It on the Java Virtual Machine
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.