Previous: Project Files and Main Subprograms, Up: gnatmake and Project Files


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 line.

When a library project file is specified, switches ^-b^/ACTION=BIND^ and ^-l^/ACTION=LINK^ have special meanings.