GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
ada

Document the gnatg switch in Ada

The commit adds documentation for the gnatg switch in Ada, including a new file and updates to existing documentation.

This commit adds documentation for the gnatg switch in Ada, which controls the GNAT implementation mode. The changes include a new file documenting the switch and updates to the table of contents. This documentation helps developers understand and use the gnatg switch effectively.

In Details

This commit focuses on documenting the gnatg switch, which is specific to the GNAT implementation of Ada. The changes involve adding a new .rst file under doc/gnat_rm/ and updating the gnat_rm.texi file. This is relevant for Ada developers using GNAT and those who need to understand the implementation-specific aspects of the language.

For Context

The commit relates to the Ada programming language and its GNAT compiler. Compilers often have implementation-specific options that go beyond the standard language definition. The 'gnatg' switch likely controls aspects of the GNAT implementation, such as enabling or disabling extensions or modifying code generation. Documenting these options helps developers understand how to use the compiler effectively and leverage its specific features.

Filed Under: adadocumentationgnat