This section contains some additional useful notes on the operation of the gnatmake command.
gnatmake
file.adb
, where file.adb
is a subunit or body of a generic unit, gnatmake recompiles
file.adb (because it finds no ALI) and stops, issuing a
warning.
main.adb
, which uses this Ada library you would just type
$ gnatmake -aIinclude-dir -aLobj-dir main