Next: Using the GNU make Utility, Previous: Binding with gnatbind, Up: Building Executable Programs with GNAT   [Contents][Index]


4.6 Linking with gnatlink ¶

This chapter discusses gnatlink, a tool that links an Ada program and builds an executable file. This utility invokes the system linker (via the gcc command) with a correct list of object files and library references. gnatlink automatically determines the list of files and references for the Ada part of a program. It uses the binder file generated by the gnatbind to determine this list.

  • Running gnatlink
  • Switches for gnatlink