12.1.5 Library Project Files
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
When a library project file is specified, switches ^-b^/ACTION=BIND^ and
^-l^/ACTION=LINK^ have special meanings.
- ^-b^/ACTION=BIND^ is only allowed for stand-alone libraries. It indicates
to gnatmake that gnatbind should be invoked for the
- ^-l^/ACTION=LINK^ may be used for all library projects. It indicates
to gnatmake that the binder generated file should be compiled
(in the case of a stand-alone library) and that the library should be built.