Running GNAT (GNAT User’s Guide for Native Platforms)

### 2.2 Running GNAT ¶

You need to take three steps to create an executable file from an Ada source file:

- You must compile the source file(s).
- You must bind the file(s) using the GNAT binder.
- You must link all appropriate object files to produce an executable.

You most commonly perform all three steps by using the `gnatmake` utility program. You pass it the name of the main program and it automatically performs the necessary compilation, binding, and linking steps.