The GNAT Compilation Model (GNAT User’s Guide for Native Platforms)

## 3 The GNAT Compilation Model ¶

This chapter describes the compilation model used by GNAT. Although similar to that used by other languages such as C and C++, this model is substantially different from the traditional Ada compilation models, which are based on a centralized program library. The chapter covers the following material:

- Topics related to source file makeup and naming
  - Source Representation
  - Foreign Language Representation
  - File Naming Topics and Utilities
- Configuration Pragmas
- Generating Object Files
- Source Dependencies
- The Ada Library Information Files
- Binding an Ada Program
- GNAT and Libraries
- Conditional Compilation
- Mixed Language Programming
- GNAT and Other Compilation Models
- Using GNAT Files with External Tools