config/sparc/sol2-bi.h: Revert previous delta.
[official-gcc.git] / gcc / ada / gnatvsn.ads
blobb15c10c403f6e15803bcc3b6229b8c13109f16fd
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 -- Extensive contributions were provided by Ada Core Technologies Inc. --
32 -- --
33 ------------------------------------------------------------------------------
35 -- This package spec exports version information for GNAT, GNATBIND and
36 -- GNATMAKE.
38 package Gnatvsn is
40 function Gnat_Version_String
41 return String;
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).
46 Gnat_Version_Type : constant String := "FSF ";
47 -- This string is set to one of three values:
49 -- "FSF "
50 -- GNAT FSF version. This version of GNAT is part of a Free Software
51 -- Foundation release of the GNU Compiler Collection (GCC). The binder
52 -- will not output informational messages regarding intended use.
53 -- and the bug box generated by Comperr will give information on
54 -- how to report bugs and list the "no warranty" information.
56 -- These are the only allowable settings for this string
58 Ver_Len_Max : constant := 32;
59 -- Longest possible length for Gnat_Version_String in this or any
60 -- other version of GNAT. This is used by the binder to establish
61 -- space to store any possible version string value for checks. This
62 -- value should never be decreased in the future, but it would be
63 -- OK to increase it if absolutely necessary.
65 Library_Version : constant String := "GNAT Lib v3.15";
66 -- Library version. This value must be updated whenever any change to the
67 -- compiler affects the library formats in such a way as to obsolete
68 -- previously compiled library modules.
70 -- Note: Makefile.in relies on the precise format of the library version
71 -- string in order to correctly construct the soname value.
73 end Gnatvsn;