Next: GNAT Utility Programs, Previous: The GNAT Compilation Model, Up: Top [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).
• Building with gnatmake: | ||
• Compiling with gcc: | ||
• Compiler Switches: | ||
• Linker Switches: | ||
• Binding with gnatbind: | ||
• Linking with gnatlink: | ||
• Using the GNU make Utility: | ||