make.adb (Collect_Arguments_And_Compile): For VMS...
authorVincent Celier <celier@adacore.com>
Wed, 15 Feb 2006 09:41:49 +0000 (10:41 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 15 Feb 2006 09:41:49 +0000 (10:41 +0100)
commitf2c573b11296a52ff9a020d0143f26a224ec7767
treedd9ddd1553fe7308698f9b32e3db83749260df72
parent25c87b0f9cc0730ea1fcccec747e99653faf3995
make.adb (Collect_Arguments_And_Compile): For VMS...

2006-02-13  Vincent Celier  <celier@adacore.com>

* make.adb (Collect_Arguments_And_Compile): For VMS, when compiling the
main source, add switch -mdebug-main=_ada_ so that the executable can
be debugged by the standard VMS debugger.
(Gnatmake): Set No_Main_Subprogram to True when there is no main
subprogram, to avoid issuing -mdebug-main=_ada_ for VMS uselessly.
Exit the Multi_Main_Loop when Unique_Compile is True after compilation
of the last source, as the binding and linking phases are never
performed.
Set all executable obsolete when rebuilding a library.

* makeutl.adb (Linker_Options_Switches): Do not process empty linker
options.

From-SVN: r111078
gcc/ada/make.adb
gcc/ada/makeutl.adb