This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] gprmake fixes


Tested on i686-linux, committed on mainline.

When there are several non Ada sources, invoking "gprmake -c" with at
least one source file specified and no "-u" switch, all the non Ada
sources were compiled. This will no longer be the case.
To test, use a project file Prj with several C files, including foo.c,
and invoke
   gprmake -c -P prj foo.c
This should result in an attempt to compile foo.c, but no other source.

2005-06-14  Vincent Celier  <celier@adacore.com>

	* makegpr.adb (Compile_Link_With_Gnatmake): Invoke gnatmake with -d if
	gprmake was invoked with -d.
	(Compile_Sources): If -d was used, output the "completed ..." message
	for each compilation.
	(Scan_Arg): Recognize new switch -d
	When -c and at least one main is specified, set
	Unique_Compile to True to guarantee that no other sources will be
	compiled.

Attachment: difs.57
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]