OSDN Git Service

a6f27cdbf1631ead25bcf02536983a784c56cd65
[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 --                            $Revision: 1.2068 $
10 --                                                                          --
11 --          Copyright (C) 1992-2001 Free Software Foundation, Inc.          --
12 --                                                                          --
13 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
14 -- terms of the  GNU General Public License as published  by the Free Soft- --
15 -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
16 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
17 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
18 -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
19 -- for  more details.  You should have  received  a copy of the GNU General --
20 -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
21 -- to  the Free Software Foundation,  59 Temple Place - Suite 330,  Boston, --
22 -- MA 02111-1307, USA.                                                      --
23 --                                                                          --
24 -- As a special exception,  if other files  instantiate  generics from this --
25 -- unit, or you link  this unit with other files  to produce an executable, --
26 -- this  unit  does not  by itself cause  the resulting  executable  to  be --
27 -- covered  by the  GNU  General  Public  License.  This exception does not --
28 -- however invalidate  any other reasons why  the executable file  might be --
29 -- covered by the  GNU Public License.                                      --
30 --                                                                          --
31 -- GNAT was originally developed  by the GNAT team at  New York University. --
32 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
33 --                                                                          --
34 ------------------------------------------------------------------------------
35
36 --  This package spec holds version information for GNAT, GNATBIND and
37 --  GNATMAKE. It is updated whenever the release number is changed.
38
39 package Gnatvsn is
40
41    Gnat_Version_String : constant String := "5.00w (20010924)";
42    --  Version output when GNAT (compiler), or its related tools, including
43    --  GNATBIND, GNATCHOP, GNATFIND, GNATLINK, GNATMAKE, GNATXREF, are run
44    --  (with appropriate verbose option switch set).
45    --
46    --  WARNING: some gnatmail scripts (at least make-bin and corcs) rely on
47    --  the format of this string. Any change must be coordinated with
48    --  a gnatmail maintainer.
49
50    Ver_Len_Max : constant := 32;
51    --  Longest possible length for Gnat_Version_String in this or any
52    --  other version of GNAT. This is used by the binder to establish
53    --  space to store any possible version string value for checks. This
54    --  value should never be decreased in the future, but it would be
55    --  OK to increase it if absolutely necessary.
56
57    Library_Version : constant String := "GNAT Lib v3.15 ";
58    --  Library version. This value must be updated whenever any change to the
59    --  compiler affects the library formats in such a way as to obsolete
60    --  previously compiled library modules.
61    --
62    --  Note: Makefile.in relies on the precise format of the library version
63    --  string in order to correctly construct the soname value.
64
65 end Gnatvsn;