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] new gnatbind switches


Tested on i686-linux, committed on trunk

A new switch -R is added for gnatbind. When gnatbind is called with this
new switch, no files are generated and the list of the sources in the
closure of the main are listed on standard output (except the sources in
the runtime).
Another new switch -Z is added to gnatbind. When switches -e, -K, -l or
-R are used, the output to the standard output is formatted: title,
leading spaces and empty line at the end. When -Z is also used, this
formating is suppresed so that the output is mor suitable for scripts.

Gnatbind now also accepts response files.
The test for this is to put gnatbind arguments into a response file and
invoke gnatbind as "gnatbind @<response file>".

2007-06-06  Vincent Celier  <celier@adacore.com>

	* bindusg.adb: Add line for @<response file>
	Add lines for new switches -R and -Z

	* gnatbind.adb (Gnatbind): Do not include sources from the GNAT
	hierarchy in the list of files of the closure when -R is used
	(Gnatbind): Accept arguments starting with '@' to indicate response
	files and take the arguments from the response files.
	If List_Closure is set, display the referenced files

Attachment: difs
Description: Text document


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