OSDN Git Service

* approved by rth
[pf3gnuchains/gcc-fork.git] / gcc / ada / gnatvsn.ads
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                         GNAT COMPILER COMPONENTS                         --
4 --                                                                          --
5 --                              G N A T V S N                               --
6 --                                                                          --
7 --                                 S p e c                                  --
8 --                                                                          --
9 --                                                                          --
10 --          Copyright (C) 1992-2002 Free Software Foundation, Inc.          --
11 --                                                                          --
12 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
13 -- terms of the  GNU General Public License as published  by the Free Soft- --
14 -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
15 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
16 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
17 -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
18 -- for  more details.  You should have  received  a copy of the GNU General --
19 -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
20 -- to  the Free Software Foundation,  59 Temple Place - Suite 330,  Boston, --
21 -- MA 02111-1307, USA.                                                      --
22 --                                                                          --
23 -- As a special exception,  if other files  instantiate  generics from this --
24 -- unit, or you link  this unit with other files  to produce an executable, --
25 -- this  unit  does not  by itself cause  the resulting  executable  to  be --
26 -- covered  by the  GNU  General  Public  License.  This exception does not --
27 -- however invalidate  any other reasons why  the executable file  might be --
28 -- covered by the  GNU Public License.                                      --
29 --                                                                          --
30 -- GNAT was originally developed  by the GNAT team at  New York University. --
31 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
32 --                                                                          --
33 ------------------------------------------------------------------------------
34
35 --  This package spec holds version information for GNAT, GNATBIND and
36 --  GNATMAKE. It is updated whenever the release number is changed.
37
38 package Gnatvsn is
39
40    Gnat_Version_String : constant String := "3.3 20020910 (experimental)";
41    --  Version output when GNAT (compiler), or its related tools, including
42    --  GNATBIND, GNATCHOP, GNATFIND, GNATLINK, GNATMAKE, GNATXREF, are run
43    --  (with appropriate verbose option switch set).
44    --
45    --  WARNING: some scripts rely on the format of this string. Any change
46    --  must be coordinated with a script maintainer. Furthermore, no
47    --  other variable in this package may have a name starting with
48    --  Gnat_Version_String.
49
50    Gnat_Version_Type : constant String := "FSF    ";
51    --  This string is set to one of three values:
52    --
53    --    "FSF    "
54    --       GNAT FSF version. This version of GNAT is part of a Free Software
55    --       Foundation release of the GNU Compiler Collection (GCC). The binder
56    --       will not output informational messages regarding intended use.
57    --       and the bug box generated by Comperr will give information on
58    --       how to report bugs and list the "no warranty" information.
59    --
60    --    "GNATPRO"
61    --       GNAT Professional version. This version of GNAT is supported
62    --       by Ada Core Technologies. The binder will not output the
63    --       usual "no warranty" messages, and the bug box generated by
64    --       package Comperr will give instructions on bug submission
65    --       that include references to customer number, ftp site etc.
66    --
67    --    "PUBLIC "
68    --       GNAT Public version. This is a public version of GNAT, released
69    --       by Ada Core Technologies and intended for educational use.
70    --       The binder will output informational messages, and the bug box
71    --       generated by the package Comperr will give appropriate bug
72    --       submission instructions that do not reference customer number etc.
73    --
74    --  These are the only allowable settings for this string
75
76    Ver_Len_Max : constant := 32;
77    --  Longest possible length for Gnat_Version_String in this or any
78    --  other version of GNAT. This is used by the binder to establish
79    --  space to store any possible version string value for checks. This
80    --  value should never be decreased in the future, but it would be
81    --  OK to increase it if absolutely necessary.
82
83    Library_Version : constant String := "GNAT Lib v3.15";
84    --  Library version. This value must be updated whenever any change to the
85    --  compiler affects the library formats in such a way as to obsolete
86    --  previously compiled library modules.
87    --
88    --  Note: Makefile.in relies on the precise format of the library version
89    --  string in order to correctly construct the soname value.
90
91 end Gnatvsn;