summaryrefslogtreecommitdiff
path: root/gcc/ada/gnatvsn.ads
diff options
context:
space:
mode:
authorVincent Celier <celier@adacore.com>2007-08-31 12:19:18 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2007-08-31 12:19:18 +0200
commit41c8951a8d4f38efb8a3550195aac0e3c68cfbe5 (patch)
treec8c87d18a9109794633d5e936943a3f76d7e949f /gcc/ada/gnatvsn.ads
parentc66bc9cc91b859926122b611e577b61c401e1e3e (diff)
downloadgcc-41c8951a8d4f38efb8a3550195aac0e3c68cfbe5.tar.gz
re PR ada/4720 (GNAT programs do not support --help and --version)
2007-08-30 Vincent Celier <celier@adacore.com> PR ada/4720 * gnatchop.adb, gnatfind.adb, gnatlink.adb, gnatls.adb, gnatname.adb, gnatxref.adb, gprep.adb, clean.adb gnatbind.adb (Check_Version_And_Help): New procedure in package Switch to process switches --version and --help. Use Check_Version_And_Help in GNAT tools * make.adb: Ditto. (Compile_Sources): Make sure that sources that are "excluded" are not compiled. (Gnatmake): Do not issue -aO. to gnatbind and only issue -I- if a project file is used. (Version_Switch): Remove, moved to Switch (Help_Switch): Remove, moved to Switch (Display_Version): Remove, moved to Switch * switch.ads, switch.adb (Check_Version_And_Help): New procedure in package Switch to process switches --version and --help. (Display_Version): New procedure * gnatvsn.ads, gnatvsn.adb (Copyright_Holder): New function. From-SVN: r127967
Diffstat (limited to 'gcc/ada/gnatvsn.ads')
-rw-r--r--gcc/ada/gnatvsn.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/gnatvsn.ads b/gcc/ada/gnatvsn.ads
index c3c17a30cef..1b1398920ba 100644
--- a/gcc/ada/gnatvsn.ads
+++ b/gcc/ada/gnatvsn.ads
@@ -68,6 +68,10 @@ package Gnatvsn is
-- Text to be displayed by the different GNAT tools when switch --version
-- is used. This text depends on the GNAT build type.
+ function Copyright_Holder return String;
+ -- Return the name of the Copyright holder to be displayed by the different
+ -- GNAT tools when switch --version is used.
+
Ver_Len_Max : constant := 64;
-- Longest possible length for Gnat_Version_String in this or any
-- other version of GNAT. This is used by the binder to establish