Previous: How gnatmake Works, Up: The GNAT Make Program gnatmake
gnatmake hello.adb
Hello
) and bind and link the
resulting object files to generate an executable file hello.
gnatmake main1 main2 main3
Main1
), main2.adb
(containing unit Main2
) and main3.adb
(containing unit Main3
) and bind and link the resulting object files
to generate three executable files main1,
main2
and main3.
gnatmake -q Main_Unit -cargs -O2 -bargs -l
Main_Unit
(from file main_unit.adb). All compilations will
be done with optimization level 2 and the order of elaboration will be
listed by the binder. gnatmake will operate in quiet mode, not
displaying commands it is executing.