Previous: Project Files and Main Subprograms, Up: gnatmake and Project Files [Contents][Index]
When gnatmake
is invoked with a main project file that is a library
project file, it is not allowed to specify one or more mains on the command
line.
When a library project file is specified, switches -b and -l have special meanings.
gnatmake
that gnatbind
should be invoked for the
library.
gnatmake
that the binder generated file should be compiled
(in the case of a stand-alone library) and that the library should be built.