Building Executable Programs with GNAT (GNAT User’s Guide for Native Platforms) (original) (raw)
Next: GNAT Utility Programs, Previous: The GNAT Compilation Model, Up: GNAT User’s Guide for Native Platforms [Contents][Index]
This chapter describes first the gnatmake tool (Building with gnatmake), which automatically determines the set of sources needed by an Ada compilation unit and executes the necessary (re)compilations, binding and linking. It also explains how to use each tool individually: the compiler (gcc, see Compiling with gcc), binder (gnatbind, see Binding with gnatbind), and linker (gnatlink, see Linking with gnatlink) to build executable programs. Finally, this chapter provides examples of how to make use of the general GNU make mechanism in a GNAT context (see Using the GNU make Utility).