GNAT

From AdaCommons

Jump to: navigation, search

GNAT is an open source Ada compiler. Abbreviation GNAT comes originally from GNU New-York University Ada Translator.

Today GNAT has three major flavors:

GNAT-GPL

The GNAT GPL edition is the most up-to-date version available. The Ada runtime distributed with the compiler is licensed under the GPL and therefore, the executables produced by the compiler are also automatically GPL licensed.

To clarify: Project source code may be distributed under any license, but executables produced from that source using this compiler must be distributed under the GPL.

You won't get any support from AdaCore without a hefty payment, so don't ask!

GNAT-FSF

The GNAT-FSF compiler is slightly less up-to-date than GNAT GPL (usually one major upgrade per year to coincide with GNAT GPL releases and then a stream of small fixes and improvements after).

It appears that AdaCore merge their private SVN changes into the public SVN repository at gcc.gnu.org every day, but those changes are only actually merged into GCC releases once a year. You can, therefore, get the most up-to-date compiler possible if you're willing to compile your own from SVN (and deal with any bugs that crop up).

The Ada runtime distributed with the compiler is licensed under the GMGPL license which is effectively the GPL with a couple of exceptions that allow anyone to develop completely proprietary applications using the compiler.

To clarify: Both project source code and compiled executables may be distributed under any license. Executables are not "tainted" by the GPL.

GNAT-PRO

GNAT Pro is effectively the same program as GNAT-GPL but with the Ada runtime licensed under similar terms to GNAT-FSF. It is also backed up with an excellent (but expensive) support contract from AdaCore. It is not unheard of for bugs to be fixed overnight and new compiler binaries sent out by morning.

Effectively, you are paying for a compiler as up-to-date as GNAT-GPL but with a license allowing proprietary distribution like GNAT-FSF and with the addition of excellent, personal, technical support.

Platforms

See Also

Personal tools