Using GNU Modula-2#
- Example compile and link
- Compiler options
- GNU Modula-2 related environment variables
- Elementary data types
- Permanently accessible base procedures.
- GNU Modula-2 supported dialects
- Exception implementation
- How to detect runtime problems at compile time
- GNU Modula-2 language extensions
- Type compatibility
- Unbounded by reference
- Building a shared library
- How to produce swig interface files
- How to produce a Python module
- Interfacing GNU Modula-2 to C
- Interface to assembly language
- Data type alignment
- Packing data types
- Accessing GNU Modula-2 Built-ins
- The PIM system module
- The ISO system module
This document contains the user and design issues relevant to the
Modula-2 front end to gcc. Throughout this document the GNU Modula-2
front end is often referred to as gm2-1.9.5
or
gm2
for short. This corresponds to GCC version
13.0.0 and GNU Modula-2 version 1.9.5.