Jump to content

GNAT Modified General Public License

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Senator2029 (talk | contribs) at 20:47, 28 July 2014 (Adding article to a stub category). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The GNU logo

The GNAT Modified General Public License (short: Modified GPL, GMGPL) is a version of the GNU General Public License specifically modified for the generic feature found in the Ada programming language.

The modification is as follows:

As a special exception, if other files instantiate generics from this unit, or you link this unit with other files to produce an executable, this unit does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Public License.

The GNAT Ada compiler can automate conformance checks for some GPL software license issues via a compiler directive. (Use pragma License (Modified_GPL); to activate the check against the Modified GPL. The GNAT Reference Manual [1] documents the License [2] pragma along with other compiler directives.

See also

References and notes

  1. ^ "GNAT Reference Manual". Retrieved 2010-07-21.
  2. ^ "Pragma License". Retrieved 2010-07-21.