Next: Using the GNU make Utility, Previous: Binding with gnatbind, Up: Building Executable Programs with GNAT [Contents][Index]
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.
Note: to invoke gnatlink with a project file, use the gnat driver (see `The_GNAT_Driver_and_Project_Files').
• Running gnatlink: | ||
• Switches for gnatlink: | ||