1 ------------------------------------------------------------------------------
3 -- GNAT COMPILER COMPONENTS --
9 -- Copyright (C) 1992-2024, Free Software Foundation, Inc. --
11 -- GNAT is free software; you can redistribute it and/or modify it under --
12 -- terms of the GNU General Public License as published by the Free Soft- --
13 -- ware Foundation; either version 3, or (at your option) any later ver- --
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
15 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
16 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
17 -- for more details. You should have received a copy of the GNU General --
18 -- Public License distributed with GNAT; see file COPYING3. If not, go to --
19 -- http://www.gnu.org/licenses for a complete copy of the license. --
21 -- GNAT was originally developed by the GNAT team at New York University. --
22 -- Extensive contributions were provided by Ada Core Technologies Inc. --
24 ------------------------------------------------------------------------------
26 -- This package defines some system dependent parameters for GNAT. These
27 -- are parameters that are relevant to the host machine on which the
28 -- compiler is running, and thus this package is part of the compiler.
38 Direct_Separator
: constant Character;
39 pragma Import
(C
, Direct_Separator
, "__gnat_dir_separator");
40 Normalized_CWD
: constant String := "." & Direct_Separator
;
41 -- Normalized string to access current directory
43 Max_Line_Length
: constant :=
44 Types
.Column_Number
'Pred (Types
.Column_Number
'Last);
45 -- Maximum source line length. By default we set it to the maximum
46 -- value that can be supported, which is given by the range of the
47 -- Column_Number type. We subtract 1 because need to be able to
48 -- have a valid Column_Number equal to Max_Line_Length to represent
49 -- the location of a "line too long" error.
51 -- 200 is the minimum value required (RM 2.2(15)). The value set here
52 -- can be reduced by the explicit use of the -gnatyM style switch.
54 Max_Name_Length
: constant := 1024;
55 -- Maximum length of unit name (including all dots, and " (spec)") and
56 -- of file names in the library, must be at least Max_Line_Length, but
59 Tag_Errors
: constant Boolean := True;
60 -- If set to true, then brief form error messages will be prefaced by
61 -- the string "error:". Used as default for Opt.Unique_Error_Tag. Disabled
64 Exclude_Missing_Objects
: constant Boolean := True;
65 -- If set to true, gnatbind will exclude from consideration all
66 -- non-existent .o files.