OSDN Git Service

2008-05-20 Robert Dewar <dewar@adacore.com>
[pf3gnuchains/gcc-fork.git] / gcc / ada / vms_data.ads
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                         GNAT COMPILER COMPONENTS                         --
4 --                                                                          --
5 --                             V M S _ D A T A                              --
6 --                                                                          --
7 --                                 S p e c                                  --
8 --                                                                          --
9 --          Copyright (C) 1996-2008, Free Software Foundation, Inc.         --
10 --                                                                          --
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.          --
20 --                                                                          --
21 -- GNAT was originally developed  by the GNAT team at  New York University. --
22 -- Extensive contributions were provided by Ada Core Technologies Inc.      --
23 --                                                                          --
24 ------------------------------------------------------------------------------
25
26 --  This package contains, for each of the command of the GNAT driver, one
27 --  constant array; each component of this array is a string that defines,
28 --  in coded form as explained below, the conversion of a VMS qualifier of the
29 --  command to the corresponding switch of the GNAT tool corresponding to the
30 --  command.
31
32 --  This package is used by the GNAT driver to invokes the GNAT tools with the
33 --  switches corresponding to the VMS qualifier and by the Project Manager to
34 --  convert VMS qualifiers in project files to their corresponding switch
35 --  values.
36
37 --  This package is also an input to the tool that generates the VMS GNAT
38 --  help information automatically.
39
40 --  NOTE: the format of this package must follow the following rules, so that
41 --        the VMS GNAT help tool works properly:
42
43 --    - Each command zone (where the eventual qualifiers are declared) must
44 --      begin with a boxed comment of the form:
45
46 --      ---------------------------------
47 --      -- Switches for GNAT <COMMAND> --
48 --      ---------------------------------
49
50 --      where <COMMAND> is the name of a GNAT command in capital letters, for
51 --      example BIND, COMPILE, XREF, ...
52
53 --    - each qualifier declaration must be followed either by
54 --         - a comment starting with "--  NODOC", to indicate that there is
55 --           no documentation for this qualifier, or
56 --         - a contiguous sequence of comments that constitute the
57 --           documentation of the qualifier.
58
59 --    - each command zone ends with the declaration of the constant array
60 --      for the command, of the form:
61
62 --      <Command>__Switches : aliased constant Switches :=
63
64 package VMS_Data is
65
66    ----------------
67    -- QUALIFIERS --
68    ----------------
69
70    --  The syntax of a qualifier declaration is as follows:
71
72    --    SWITCH_STRING ::= "/ command-qualifier-name TRANSLATION"
73
74    --    TRANSLATION ::=
75    --      DIRECT_TRANSLATION
76    --    | DIRECTORIES_TRANSLATION
77    --    | FILE_TRANSLATION
78    --    | NO_SPACE_FILE_TRANSL
79    --    | NUMERIC_TRANSLATION
80    --    | STRING_TRANSLATION
81    --    | OPTIONS_TRANSLATION
82    --    | COMMANDS_TRANSLATION
83    --    | ALPHANUMPLUS_TRANSLATION
84    --    | OTHER_TRANSLATION
85
86    --    DIRECT_TRANSLATION       ::= space UNIX_SWITCHES
87    --    DIRECTORIES_TRANSLATION  ::= =* UNIX_SWITCH *
88    --    DIRECTORY_TRANSLATION    ::= =% UNIX_SWITCH %
89    --    FILE_TRANSLATION         ::= =@ UNIX_SWITCH @
90    --    NO_SPACE_FILE_TRANSL     ::= =< UNIX_SWITCH >
91    --    NUMERIC_TRANSLATION      ::= =# UNIX_SWITCH # | # number #
92    --    STRING_TRANSLATION       ::= =" UNIX_SWITCH "
93    --    OPTIONS_TRANSLATION      ::= =OPTION {space OPTION}
94    --    COMMANDS_TRANSLATION     ::= =? ARGS space command-name
95    --    ALPHANUMPLUS_TRANSLATION ::= =| UNIX_SWITCH |
96
97    --    UNIX_SWITCHES ::= UNIX_SWITCH {, UNIX_SWITCH}
98
99    --    UNIX_SWITCH ::= unix-switch-string | !unix-switch-string | `string'
100
101    --    OPTION ::= option-name space UNIX_SWITCHES
102
103    --    ARGS ::= -cargs | -bargs | -largs
104
105    --  Here command-qual is the name of the switch recognized by the GNATCmd.
106    --  This is always given in upper case in the templates, although in the
107    --  actual commands, either upper or lower case is allowed.
108
109    --  The unix-switch-string always starts with a minus, and has no commas
110    --  or spaces in it. Case is significant in the unix switch string. If a
111    --  unix switch string is preceded by the not sign (!) it means that the
112    --  effect of the corresponding command qualifier is to remove any previous
113    --  occurrence of the given switch in the command line.
114
115    --  The DIRECTORIES_TRANSLATION format is used where a list of directories
116    --  is given. This possible corresponding formats recognized by GNATCmd are
117    --  as shown by the following example for the case of PATH
118
119    --    PATH=direc
120    --    PATH=(direc,direc,direc,direc)
121
122    --  When more than one directory is present for the DIRECTORIES case, then
123    --  multiple instances of the corresponding unix switch are generated,
124    --  with the file name being substituted for the occurrence of *.
125
126    --  The FILE_TRANSLATION format is similar except that only a single
127    --  file is allowed, not a list of files, and only one unix switch is
128    --  generated as a result.
129
130    --  the NO_SPACE_FILE_TRANSL is similar to FILE_TRANSLATION, except that
131    --  no space is inserted between the switch and the file name.
132
133    --  The NUMERIC_TRANSLATION format is similar to the FILE_TRANSLATION case
134    --  except that the parameter is a decimal integer in the range 0 to 999.
135
136    --  For the OPTIONS_TRANSLATION case, GNATCmd similarly permits one or
137    --  more options to appear (although only in some cases does the use of
138    --  multiple options make logical sense). For example, taking the
139    --  case of ERRORS for GCC, the following are all allowed:
140
141    --    /ERRORS=BRIEF
142    --    /ERRORS=(FULL,VERBOSE)
143    --    /ERRORS=(BRIEF IMMEDIATE)
144
145    --  If no option is provided (e.g. just /ERRORS is written), then the
146    --  first option in the list is the default option. For /ERRORS this
147    --  is NORMAL, so /ERRORS with no option is equivalent to /ERRORS=NORMAL.
148
149    --  The COMMANDS_TRANSLATION case is only used for gnatmake, to correspond
150    --  to the use of -cargs, -bargs and -largs (the ARGS string as indicated
151    --  is one of these three possibilities). The name given by COMMAND is the
152    --  corresponding command name to be used to interpret the switches to be
153    --  passed on. Switches of this type set modes, e.g. /COMPILER_QUALIFIERS
154    --  sets the mode so that all subsequent switches, up to another switch
155    --  with COMMANDS_TRANSLATION apply to the corresponding commands issued
156    --  by the make utility. For example
157
158    --    /COMPILER_QUALIFIERS /LIST /BINDER_QUALIFIERS /MAIN
159    --    /COMPILER_QUALIFIERS /NOLIST /COMPILE_CHECKS=SYNTAX
160
161    --  Clearly these switches must come at the end of the list of switches
162    --  since all subsequent switches apply to an issued command.
163
164    --  For the DIRECT_TRANSLATION case, an implicit additional qualifier
165    --  declaration is created by prepending NO to the name of the qualifier,
166    --  and then inverting the sense of the UNIX_SWITCHES string. For example,
167    --  given the qualifier definition:
168
169    --     "/LIST -gnatl"
170
171    --  An implicit qualifier definition is created:
172
173    --     "/NOLIST !-gnatl"
174
175    --  In the case where, a ! is already present, inverting the sense of the
176    --  switch means removing it.
177
178    subtype S is String;
179    --  A synonym to shorten the table
180
181    type String_Ptr is access constant String;
182    --  String pointer type used throughout
183
184    type Switches is array (Natural range <>) of String_Ptr;
185    --  Type used for array of switches
186
187    type Switches_Ptr is access constant Switches;
188
189    ----------------------------
190    -- Switches for GNAT BIND --
191    ----------------------------
192
193    S_Bind_Add     : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"      &
194                                             "-aP*";
195    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
196    --
197    --   Add directories to the project search path.
198
199    S_Bind_Bind    : aliased constant S := "/BIND_FILE="                    &
200                                             "ADA "                         &
201                                                "-A "                       &
202                                             "C "                           &
203                                                "-C";
204    --        /BIND_FILE[=bind-file-option]
205    --
206    --   Specifies the language of the binder generated file.
207    --
208    --        ADA (D)    Binder file is Ada.
209    --
210    --        C          Binder file is 'C'.
211
212    S_Bind_Build   : aliased constant S := "/BUILD_LIBRARY=|"               &
213                                             "-L|";
214    --        /BUILD_LIBRARY=xxx
215    --
216    --        Binds the units for library building. In this case the adainit and
217    --        adafinal procedures are rename to xxxinit and xxxfinal. Implies
218    --        /NOMAIN.
219
220    S_Bind_Current : aliased constant S := "/CURRENT_DIRECTORY "            &
221                                             "!-I-";
222    --        /CURRENT_DIRECTORY (D)
223    --        /NOCURRENT_DIRECTORY
224    --
225    --        Look for source, library or object files in the default directory.
226
227    S_Bind_Debug   : aliased constant S := "/DEBUG="                        &
228                                             "TRACEBACK "                   &
229                                                "-g2 "                      &
230                                             "ALL "                         &
231                                                "-g3 "                      &
232                                             "NONE "                        &
233                                                "-g0 "                      &
234                                             "SYMBOLS "                     &
235                                                "-g1 "                      &
236                                             "NOSYMBOLS "                   &
237                                                "!-g1 "                     &
238                                             "LINK "                        &
239                                                "-g3 "                      &
240                                             "NOTRACEBACK "                 &
241                                                "!-g2";
242    --        /DEBUG[=debug-level]
243    --        /NODEBUG
244    --
245    --    Specify level of debugging information generated for the elaboration
246    --    routine.  See corresponding qualifier for GNAT COMPILE.
247
248    S_Bind_DebugX  : aliased constant S := "/NODEBUG "                      &
249                                             "!-g";
250    --  NODOC  (see /DEBUG)
251
252    S_Bind_Elab    : aliased constant S := "/ELABORATION_DEPENDENCIES "     &
253                                             "-e";
254    --        /ELABORATION_DEPENDENCIES
255    --        /NOELABORATION_DEPENDENCIES (D)
256    --
257    --   Output complete list of elaboration-order dependencies, showing the
258    --   reason for each dependency. This output can be rather extensive but may
259    --   be useful in diagnosing problems with elaboration order. The output is
260    --   written to SYS$OUTPUT.
261
262    S_Bind_Error   : aliased constant S := "/ERROR_LIMIT=#"                 &
263                                             "-m#";
264    --        /ERROR_LIMIT=nnn
265    --
266    --   Limit number of detected errors to nnn (1-999999).
267
268    S_Bind_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'     &
269                                             "-X" & '"';
270    --       /EXTERNAL_REFERENCE="name=val"
271    --
272    --   Specifies an external reference to the project manager. Useful only if
273    --   /PROJECT_FILE is used.
274    --
275    --   Example:
276    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
277
278    S_Bind_Follow  : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
279                                             "-eL";
280    --        /NOFOLLOW_LINKS_FOR_FILES (D)
281    --        /FOLLOW_LINKS_FOR_FILES
282    --
283    --    Follow links when parsing project files
284
285    S_Bind_Force   : aliased constant S := "/FORCE_ELAB_FLAGS "             &
286                                             "-F";
287    --        /NOFORCE_ELAB_FLAGS (D)
288    --        /FORCE_ELAB_FLAGS
289    --
290    --    Force checking of elaboration Flags
291
292    S_Bind_Help    : aliased constant S := "/HELP "                         &
293                                             "-h";
294    --        /HELP
295    --
296    --   Output usage information.
297
298    S_Bind_Init    : aliased constant S := "/INITIALIZE_SCALARS="           &
299                                             "INVALID "                     &
300                                                "-Sin "                     &
301                                             "LOW "                         &
302                                                "-Slo "                     &
303                                             "HIGH "                        &
304                                                "-Shi";
305    --        /INITIALIZE_SCALARS[=scalar-option]
306    --
307    --   Indicate how uninitialized scalar values for which a pragma
308    --   Initialize_Scalars applies should be initialized.
309    --   scalar-option may be one of the following:
310    --
311    --      INVALID (D)  Initialize with an invalid value.
312    --      LOW          Initialize with the lowest valid value of the subtype.
313    --      HIGH         Initialize with the highest valid value of the subtype.
314
315    S_Bind_Leap    : aliased constant S := "/ENABLE_LEAP_SECONDS "          &
316                                             "-y";
317    --      /ENABLE_LEAP_SECONDS
318    --      /NOENABLE_LEAP_SECONDS (D)
319    --
320    --   Enable leap seconds support in Ada.Calendar and its children.
321
322    S_Bind_Library : aliased constant S := "/LIBRARY_SEARCH=*"              &
323                                             "-aO*";
324    --        /LIBRARY_SEARCH=(direc[,...])
325    --
326    --        When looking for library and object files look also in directories
327    --        specified.
328
329    S_Bind_Linker  : aliased constant S := "/LINKER_OPTION_LIST "           &
330                                             "-K";
331    --        /NOLINKER_OPTION_LIST (D)
332    --        /LINKER_OPTION_LIST
333    --
334    --        Output linker options to SYS$OUTPUT.  Includes library search
335    --        paths, contents of pragmas Ident and Linker_Options, and
336    --        libraries added by GNAT BIND.
337
338    S_Bind_Main    : aliased constant S := "/MAIN "                         &
339                                             "!-n";
340    --        /MAIN (D)
341    --
342    --   The main program is in Ada.
343    --
344    --        /NOMAIN
345    --
346    --   The main program is not in Ada.
347
348    S_Bind_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="        &
349                                             "DEFAULT "                     &
350                                                "-vP0 "                     &
351                                             "MEDIUM "                      &
352                                                "-vP1 "                     &
353                                             "HIGH "                        &
354                                                "-vP2";
355    --        /MESSAGES_PROJECT_FILE[=messages-option]
356    --
357    --   Specifies the "verbosity" of the parsing of project files.
358    --   messages-option may be one of the following:
359    --
360    --      DEFAULT (D)  No messages are output if there is no error or warning.
361    --
362    --      MEDIUM       A small number of messages are output.
363    --
364    --      HIGH         A great number of messages are output, most of them not
365    --                   being useful for the user.
366
367    S_Bind_Nostinc : aliased constant S := "/NOSTD_INCLUDES "               &
368                                             "-nostdinc";
369    --        /NOSTD_INCLUDES
370    --
371    --    Do not look for sources the in the system default directory.
372
373    S_Bind_Nostlib : aliased constant S := "/NOSTD_LIBRARIES "              &
374                                             "-nostdlib";
375    --        /NOSTD_LIBRARIES
376    --
377    --    Do not look for library files in the system default directory.
378
379    S_Bind_No_Time : aliased constant S := "/NO_TIME_STAMP_CHECK "          &
380                                             "-t";
381    --  NODOC (see /TIME_STAMP_CHECK)
382
383    S_Bind_Object  : aliased constant S := "/OBJECT_LIST "                  &
384                                             "-O";
385    --        /NOOBJECT_LIST (D)
386    --        /OBJECT_LIST
387    --
388    --    Output full names of all the object files that must be linker to
389    --    provide the Ada component of the program. The output is written to
390    --    SYS$OUTPUT.
391
392    S_Bind_Order   : aliased constant S := "/ORDER_OF_ELABORATION "         &
393                                             "-l";
394    --        /NOORDER_OF_ELABORATION (D)
395    --        /ORDER_OF_ELABORATION
396    --
397    --   Output chosen elaboration order. The output is written to SYS$OUTPUT.
398
399    S_Bind_Output  : aliased constant S := "/OUTPUT=@"                      &
400                                             "-o@";
401    --        /OUTPUT=filename
402    --
403    --   File name to use for the program containing the elaboration code.
404
405    S_Bind_OutputX : aliased constant S := "/NOOUTPUT "                     &
406                                             "-c";
407    --        /NOOUTPUT
408    --
409    --   Check only. Do not generate the binder output file.
410    --
411    --   In this mode the binder performs all error checks but does not generate
412    --   an output file.
413
414    S_Bind_Pess    : aliased constant S := "/PESSIMISTIC_ELABORATION "      &
415                                             "-p";
416    --        /PESSIMISTIC_ELABORATION
417    --
418    --   Causes the binder to choose a "pessimistic" elaboration order, i.e. one
419    --   which is most likely to cause elaboration order problems. This can be
420    --   useful in testing portable code to make sure that there are no missing
421    --   elaborate pragmas.
422
423    S_Bind_Project : aliased constant S := "/PROJECT_FILE=<"                &
424                                             "-P>";
425    --        /PROJECT_FILE=filename
426    --
427    --   Specifies the main project file to be used. The project files rooted
428    --   at the main project file will be parsed before the invocation of the
429    --   binder. The source and object directories to be searched will be
430    --   communicated to the binder through logical names ADA_PRJ_INCLUDE_FILE
431    --   and ADA_PRJ_OBJECTS_FILE.
432
433    S_Bind_Read    : aliased constant S := "/READ_SOURCES="                 &
434                                             "ALL "                         &
435                                                "-s "                       &
436                                             "NONE "                        &
437                                                "-x "                       &
438                                             "AVAILABLE "                   &
439                                                "!-x,!-s";
440    --        /READ_SOURCES[=(keyword[,...])]
441    --        /NOREAD_SOURCES
442    --
443    --   The following keyword are accepted:
444    --
445    --      ALL (D)      Require source files to be present. In this mode, the
446    --                   binder insists on being able to locate all source files
447    --                   that are referenced and checks their consistency.  In
448    --                   normal mode, if a source file cannot be located it is
449    --                   simply ignored. If you specify the ALL keyword, a
450    --                   missing source file is an error.
451    --
452    --      NONE         Exclude source files. In this mode, the binder only
453    --                   checks that ALI files are consistent with one another.
454    --                   source files are not accessed.  The binder runs faster
455    --                   in this mode, and there is still a guarantee that the
456    --                   resulting program is self-consistent.
457    --
458    --                   If a source file has been edited since it was last
459    --                   compiled and you specify the NONE keyword, the binder
460    --                   will not detect that the object file is out of date
461    --                   with the source file.
462    --
463    --                   This is the same as specifying /NOREAD_SOURCES.
464    --
465    --      AVAILABLE    Check that object files are consistent with one
466    --                   another and are consistent with any source files that
467    --                   can be located.
468
469    S_Bind_ReadX   : aliased constant S := "/NOREAD_SOURCES "               &
470                                             "-x";
471    --  NODOC (see /READ_SOURCES)
472
473    S_Bind_Rename  : aliased constant S := "/RENAME_MAIN=<"                 &
474                                             "-M>";
475    --        /RENAME_MAIN=xxx
476    --
477    --   Renames the generated main program from main to xxx.
478    --   This is useful in the case of some cross-building environments, where
479    --   the actual main program is separate from the one generated
480    --   by GNAT BIND.
481
482    S_Bind_Report  : aliased constant S := "/REPORT_ERRORS="                &
483                                             "VERBOSE "                     &
484                                                "-v "                       &
485                                             "BRIEF "                       &
486                                                "-b "                       &
487                                             "DEFAULT "                     &
488                                                "!-b,!-v";
489    --        /REPORT_ERRORS[=(keyword[,...])]
490    --           VERBOSE (D)
491    --           BRIEF
492    --           DEFAULT
493    --        /NOREPORT_ERRORS
494    --
495    --   With the DEFAULT keyword (which is not the default when the binder is
496    --   run from GNAT BIND) or the /NOREPORT_ERRORS qualifier, brief error
497    --   messages are generated to SYS$ERROR.  If the VERBOSE keyword is
498    --   present, a header is written to SYS$OUTPUT and any error messages are
499    --   directed to SYS$OUTPUT  All that is written to SYS$ERROR is a brief
500    --   summary message.
501    --
502    --   If the BRIEF keyword is specified, the binder will generate brief error
503    --   messages to SYS$ERROR even if verbose mode is specified. This is
504    --   relevant only when used together with the VERBOSE keyword or /VERBOSE
505    --   qualifier.
506
507    S_Bind_ReportX : aliased constant S := "/NOREPORT_ERRORS "              &
508                                             "!-b,!-v";
509    --  NODOC (see /REPORT_ERRORS)
510
511    S_Bind_Restr   : aliased constant S := "/RESTRICTION_LIST "             &
512                                             "-r";
513    --        /NORESTRICTION_LIST (D)
514    --        /RESTRICTION_LIST
515    --
516    --   Generate list of pragma Restrictions that could be applied to the
517    --   current unit. This is useful for code audit purposes, and also may be
518    --   used to improve code generation in some cases.
519
520    S_Bind_Return  : aliased constant S := "/RETURN_CODES="                 &
521                                             "POSIX "                       &
522                                                "!-X1 "                     &
523                                             "VMS "                         &
524                                                "-X1";
525    --        /RETURN_CODES=POSIX (D)
526    --        /RETURN_CODES=VMS
527    --
528    --   Specifies the style of default exit code returned. Must be used in
529    --   conjunction with and match the Link qualifier with same name.
530    --
531    --        POSIX (D)   Return Posix success (0) by default.
532    --
533    --        VMS         Return VMS success (1) by default.
534
535    S_Bind_RTS     : aliased constant S := "/RUNTIME_SYSTEM=|"              &
536                                             "--RTS=|";
537    --      /RUNTIME_SYSTEM=xxx
538    --
539    --    Binds against an alternate runtime system named xxx or RTS-xxx.
540
541    S_Bind_Search  : aliased constant S := "/SEARCH=*"                      &
542                                             "-I*";
543    --        /SEARCH=(directory[,...])
544    --
545    --   When looking for source or object files also look in directories
546    --   specified.
547    --
548    --   This is the same as specifying both /LIBRARY_SEARCH and /SOURCE_SEARCH
549    --   for a directory.
550
551    S_Bind_Shared  : aliased constant S := "/SHARED "                       &
552                                             "-shared,!-static";
553    --        /SHARED
554    --        /NOSHARED
555    --
556    --    Link against a shared GNAT run time when available.
557
558    S_Bind_Slice   : aliased constant S := "/TIME_SLICE=#"                  &
559                                             "-T#";
560    --        /TIME_SLICE=nnn
561    --
562    --   Set the time slice value to nnn milliseconds. A value of zero means no
563    --   time slicing and also indicates to the tasking run time to match as
564    --   close as possible to the annex D requirements of the RM.
565
566    S_Bind_Source  : aliased constant S := "/SOURCE_SEARCH=*"               &
567                                             "-aI*";
568    --        /SOURCE_SEARCH=(directory[,...])
569    --
570    --    When looking for source files also look in directories specified.
571
572    S_Bind_Static  : aliased constant S := "/STATIC "                       &
573                                             "-static,!-shared";
574    --        /STATIC
575    --        /NOSTATIC
576    --
577    --    Link against a static GNAT run time.
578
579    S_Bind_Store   : aliased constant S := "/STORE_TRACEBACKS "             &
580                                             "-E";
581    --        /STORE_TRACEBACKS (D)
582    --        /NOSTORE_TRACEBACKS
583    --
584    --   Store tracebacks in exception occurrences.
585    --   This is the default on VMS, with the zero-cost exception mechanism.
586    --   This qualifier has no impact, except when using the setjmp/longjmp
587    --   exception mechanism, with the GNAT COMPILE qualifier /LONGJMP_SETJMP.
588
589    S_Bind_Subdirs : aliased constant S := "/SUBDIRS=<"                     &
590                                             "--subdirs=>";
591    --        /SUBDIRS=dir
592    --
593    --   The actual directories (object, exec, library, ...) are subdirectories
594    --   of the directory specified in the project file. If the subdirectory
595    --   does not exist, it is created automatically.
596
597    S_Bind_Time    : aliased constant S := "/TIME_STAMP_CHECK "             &
598                                             "!-t";
599    --      /TIME_STAMP_CHECK (D)
600    --
601    --   Time stamp errors will be treated as errors.
602    --
603    --      /NOTIME_STAMP_CHECK
604    --
605    --   Ignore time stamp errors. Any time stamp error messages are treated as
606    --   warning messages. This switch essentially disconnects the normal
607    --   consistency checking, and the resulting program may have undefined
608    --   semantics if inconsistent units are present.
609    --
610    --   This means that /NOTIME_STAMP_CHECK should be used only in unusual
611    --   situations, with extreme care.
612
613    S_Bind_Verbose : aliased constant S := "/VERBOSE "                      &
614                                             "-v";
615    --        /VERBOSE (D)
616    --        /NOVERBOSE
617    --
618    --   Equivalent to /REPORT_ERRORS=VERBOSE.
619
620    S_Bind_Warn    : aliased constant S := "/WARNINGS="                     &
621                                             "NORMAL "                      &
622                                                "!-ws,!-we "                &
623                                             "SUPPRESS "                    &
624                                                "-ws "                      &
625                                             "ERROR "                       &
626                                                "-we";
627    --      /WARNINGS[=(keyword[,...])]
628    --      /NOWARNINGS
629    --
630    --   The following keywords are supported:
631    --
632    --        NORMAL (D)    Print warning messages and treat them as warning.
633    --        SUPPRESS      Suppress all warning messages (same as /NOWARNINGS).
634    --        ERROR         Treat any warning messages as fatal errors
635
636    S_Bind_WarnX   : aliased constant S := "/NOWARNINGS "                   &
637                                             "-ws";
638    --  NODOC (see /WARNINGS)
639
640    S_Bind_Wide    : aliased constant S := "/WIDE_CHARACTER_ENCODING="      &
641                                             "BRACKETS "                    &
642                                                "-gnatWb "                  &
643                                             "HEX "                         &
644                                                "-gnatWh "                  &
645                                             "UPPER "                       &
646                                                "-gnatWu "                  &
647                                             "SHIFT_JIS "                   &
648                                                "-gnatWs "                  &
649                                             "UTF8 "                        &
650                                                "-gnatW8 "                  &
651                                             "EUC "                         &
652                                                "-gnatWe";
653    --        /NOWIDE_CHARACTER_ENCODING (D)
654    --        /WIDE_CHARACTER_ENCODING[=encode-type]
655    --
656    --   Specifies the mechanism used to encode wide characters, overriding
657    --   the default as set by the /WIDE_CHARACTER_ENCODING option for the
658    --   compilation of the main program.
659
660    S_Bind_Zero    : aliased constant S := "/ZERO_MAIN "                    &
661                                             "-z";
662    --        /NOZERO_MAIN (D)
663    --        /ZERO_MAIN
664    --
665    --   Normally the binder checks that the unit name given on the command line
666    --   corresponds to a suitable main subprogram. When /ZERO_MAIN is used,
667    --   a list of ALI files can be given, and the execution of the program
668    --   consists of elaboration of these units in an appropriate order.
669
670    Bind_Switches : aliased constant Switches :=
671                      (S_Bind_Add     'Access,
672                       S_Bind_Bind    'Access,
673                       S_Bind_Build   'Access,
674                       S_Bind_Current 'Access,
675                       S_Bind_Debug   'Access,
676                       S_Bind_DebugX  'Access,
677                       S_Bind_Elab    'Access,
678                       S_Bind_Error   'Access,
679                       S_Bind_Ext     'Access,
680                       S_Bind_Follow  'Access,
681                       S_Bind_Force   'Access,
682                       S_Bind_Help    'Access,
683                       S_Bind_Init    'Access,
684                       S_Bind_Leap    'Access,
685                       S_Bind_Library 'Access,
686                       S_Bind_Linker  'Access,
687                       S_Bind_Main    'Access,
688                       S_Bind_Mess    'Access,
689                       S_Bind_Nostinc 'Access,
690                       S_Bind_Nostlib 'Access,
691                       S_Bind_No_Time 'Access,
692                       S_Bind_Object  'Access,
693                       S_Bind_Order   'Access,
694                       S_Bind_Output  'Access,
695                       S_Bind_OutputX 'Access,
696                       S_Bind_Pess    'Access,
697                       S_Bind_Project 'Access,
698                       S_Bind_Read    'Access,
699                       S_Bind_ReadX   'Access,
700                       S_Bind_Rename  'Access,
701                       S_Bind_Report  'Access,
702                       S_Bind_ReportX 'Access,
703                       S_Bind_Restr   'Access,
704                       S_Bind_Return  'Access,
705                       S_Bind_RTS     'Access,
706                       S_Bind_Search  'Access,
707                       S_Bind_Shared  'Access,
708                       S_Bind_Slice   'Access,
709                       S_Bind_Source  'Access,
710                       S_Bind_Static  'Access,
711                       S_Bind_Store   'Access,
712                       S_Bind_Subdirs 'Access,
713                       S_Bind_Time    'Access,
714                       S_Bind_Verbose 'Access,
715                       S_Bind_Warn    'Access,
716                       S_Bind_WarnX   'Access,
717                       S_Bind_Wide    'Access,
718                       S_Bind_Zero    'Access);
719
720    -----------------------------
721    -- Switches for GNAT CHECK --
722    -----------------------------
723
724    S_Check_Add    : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"      &
725                                             "-aP*";
726    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
727    --
728    --   Add directories to the project search path.
729
730    S_Check_All    : aliased constant S := "/ALL "                          &
731                                             "-a";
732    --        /NOALL (D)
733    --        /ALL
734    --
735    --   Also check the components of the GNAT run time and process the needed
736    --  components of the GNAT RTL when building and analyzing the global
737    --  structure for checking the global rules.
738
739    S_Check_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'    &
740                                              "-X" & '"';
741    --       /EXTERNAL_REFERENCE="name=val"
742    --
743    --   Specifies an external reference to the project manager. Useful only if
744    --   /PROJECT_FILE is used.
745    --
746    --   Example:
747    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
748
749    S_Check_Files  : aliased constant S := "/FILES=@"                       &
750                                              "-files=@";
751    --      /FILES=filename
752    --
753    --   Take as arguments the files that are listed in the specified
754    --   text file.
755
756    S_Check_Follow : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
757                                             "-eL";
758    --        /NOFOLLOW_LINKS_FOR_FILES (D)
759    --        /FOLLOW_LINKS_FOR_FILES
760    --
761    --    Follow links when parsing project files
762
763    S_Check_Help   : aliased constant S := "/HELP "                         &
764                                             "-h";
765    --        /NOHELP (D)
766    --        /HELP
767    --
768    --   Print information about currently implemented checks.
769
770    S_Check_Locs   : aliased constant S := "/LOCS "                         &
771                                             "-l";
772    --        /NOLOCS (D)
773    --        /LOCS
774    --
775    --   Use full source locations references in the report file.
776
777    S_Check_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="       &
778                                              "DEFAULT "                    &
779                                                 "-vP0 "                    &
780                                              "MEDIUM "                     &
781                                                 "-vP1 "                    &
782                                              "HIGH "                       &
783                                                 "-vP2";
784    --        /MESSAGES_PROJECT_FILE[=messages-option]
785    --
786    --   Specifies the "verbosity" of the parsing of project files.
787    --   messages-option may be one of the following:
788    --
789    --      DEFAULT (D)  No messages are output if there is no error or warning.
790    --
791    --      MEDIUM       A small number of messages are output.
792    --
793    --      HIGH         A great number of messages are output, most of them not
794    --                   being useful for the user.
795
796    S_Check_Project : aliased constant S := "/PROJECT_FILE=<"               &
797                                              "-P>";
798    --        /PROJECT_FILE=filename
799    --
800    --   Specifies the main project file to be used. The project files rooted
801    --   at the main project file will be parsed before the invocation of the
802    --   gnatcheck. The source directories to be searched will be communicated
803    --   to gnatcheck through logical name ADA_PRJ_INCLUDE_FILE.
804
805    S_Check_Quiet  : aliased constant S := "/QUIET "                        &
806                                             "-q";
807    --        /NOQUIET (D)
808    --        /QUIET
809    --
810    --   Work quietly, only output warnings and errors.
811
812    S_Check_Sections : aliased constant S := "/SECTIONS="                   &
813                                             "DEFAULT "                     &
814                                                "-s123 "                    &
815                                             "COMPILER_STYLE "              &
816                                                "-s1 "                      &
817                                             "BY_RULES "                    &
818                                                "-s2 "                      &
819                                             "BY_FILES_BY_RULES "           &
820                                                "-s3";
821    --        /SECTIONS[=section-option, section-option, ...]
822    --
823    --   Specify what sections should be included into the report file.
824    --   By default, all three section (diagnoses in the format corresponding
825    --   to compiler error and warning messages, diagnoses grouped by rules and
826    --   then - by files, diagnoses grouped by files and then - by rules) are
827    --   included in the report file.
828    --
829    --   section-option may be one of the following:
830    --
831    --      COMPILER_STYLE      Include diagnostics in compile-style format
832    --                          (diagnoses are grouped by files, for each file
833    --                          they are ordered according to the references
834    --                          into the source)
835    --      BY_RULES            Include diagnostics grouped first by rules and
836    --                          then by files
837    --      BY_FILES_BY_RULES   Include diagnostics grouped first by files and
838    --                          then by rules
839    --
840    --   If one of these options is specified, then the report file contains
841    --   only sections set by these options
842
843    S_Check_Short  : aliased constant S := "/SHORT "                        &
844                                             "-s";
845    --        /NOSHORT (D)
846    --        /SHORT
847    --
848    --   Generate a short form of the report file.
849
850    S_Check_Subdirs : aliased constant S := "/SUBDIRS=<"                    &
851                                              "--subdirs=>";
852    --        /SUBDIRS=dir
853    --
854    --   The actual directories (object, exec, library, ...) are subdirectories
855    --   of the directory specified in the project file. If the subdirectory
856    --   does not exist, it is created automatically.
857
858    S_Check_Verb   : aliased constant S := "/VERBOSE "                      &
859                                             "-v";
860    --        /NOVERBOSE (D)
861    --        /VERBOSE
862    --
863    --   The version number and copyright notice are output, as well as exact
864    --   copies of the gnat1 commands spawned to obtain the chop control
865    --   information.
866
867    Check_Switches : aliased constant Switches :=
868                       (S_Check_Add      'Access,
869                        S_Check_All      'Access,
870                        S_Check_Ext      'Access,
871                        S_Check_Files    'Access,
872                        S_Check_Follow   'Access,
873                        S_Check_Help     'Access,
874                        S_Check_Locs     'Access,
875                        S_Check_Mess     'Access,
876                        S_Check_Project  'Access,
877                        S_Check_Quiet    'Access,
878                        S_Check_Sections 'Access,
879                        S_Check_Short    'Access,
880                        S_Check_Subdirs  'Access,
881                        S_Check_Verb     'Access);
882
883    ----------------------------
884    -- Switches for GNAT CHOP --
885    ----------------------------
886
887    S_Chop_Comp   : aliased constant S := "/COMPILATION "                   &
888                                             "-c";
889    --        /NOCOMPILATION (D)
890    --        /COMPILATION
891    --
892    --   Compilation mode, handle configuration pragmas strictly according to
893    --   RM rules.
894
895    S_Chop_File   : aliased constant S := "/FILE_NAME_MAX_LENGTH=#"         &
896                                             "-k#";
897    --        /FILE_NAME_MAX_LENGTH[=nnn]
898    --
899    --   Limit generated file names to NNN (default of 8) characters. This is
900    --   useful if the resulting set of files is required to be interoperable
901    --   with systems like MS-DOS which limit the length of file names.
902
903    S_Chop_Help   : aliased constant S := "/HELP "                          &
904                                             "-h";
905    --        /NOHELP (D)
906    --        /HELP
907    --
908    --   Print usage information.
909
910    S_Chop_Over   : aliased constant S := "/OVERWRITE "                     &
911                                             "-w";
912    --        /NOOVERWRITE (D)
913    --        /OVERWRITE
914    --
915    --   Overwrite existing file names. Normally GNAT CHOP regards it as a
916    --   fatal error situation if there is already a file with the same name as
917    --   a file it would otherwise output. The /OVERWRITE qualifier bypasses
918    --   this check, and any such existing files will be silently overwritten.
919
920    S_Chop_Pres   : aliased constant S := "/PRESERVE "                      &
921                                             "-p";
922    --        /NOPRESERVE (D)
923    --        /PRESERVE
924    --
925    --   Causes the file modification time stamp of the input file to be
926    --   preserved and used for the time stamp of the output file(s). This may
927    --   be useful for preserving coherency of time stamps in an environment
928    --   where gnatchop is used as part of a standard build process.
929
930    S_Chop_Quiet  : aliased constant S := "/QUIET "                         &
931                                             "-q";
932    --        /NOQUIET (D)
933    --        /QUIET
934    --
935    --   Work quietly, only output warnings and errors.
936
937    S_Chop_Ref    : aliased constant S := "/REFERENCE "                     &
938                                             "-r";
939    --        /NOREFERENCE (D)
940    --        /REFERENCE
941    --
942    --   Generate "Source_Reference" pragmas. Use this qualifier if the output
943    --   files are regarded as temporary and development is to be done in terms
944    --   of the original unchopped file. The /REFERENCE qualifier causes
945    --   "Source_Reference" pragmas to be inserted into each of the generated
946    --   files to refers back to the original file name and line number.  The
947    --   result is that all error messages refer back to the original unchopped
948    --   file.
949    --
950    --   In addition, the debugging information placed into the object file
951    --   (when the /DEBUG qualifier of GNAT COMPILE or GNAT MAKE is specified)
952    --   also refers back to this original file so that tools like profilers
953    --   and debuggers will give information in terms of the original unchopped
954    --   file.
955
956    S_Chop_Verb   : aliased constant S := "/VERBOSE "                       &
957                                             "-v";
958    --        /NOVERBOSE (D)
959    --        /VERBOSE
960    --
961    --   The version number and copyright notice are output, as well as exact
962    --   copies of the gnat1 commands spawned to obtain the chop control
963    --   information.
964
965    Chop_Switches : aliased constant Switches :=
966                      (S_Chop_Comp   'Access,
967                       S_Chop_File   'Access,
968                       S_Chop_Help   'Access,
969                       S_Chop_Over   'Access,
970                       S_Chop_Pres   'Access,
971                       S_Chop_Quiet  'Access,
972                       S_Chop_Ref    'Access,
973                       S_Chop_Verb   'Access);
974
975    -----------------------------
976    -- Switches for GNAT CLEAN --
977    -----------------------------
978
979    S_Clean_Add    : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"      &
980                                             "-aP*";
981    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
982    --
983    --   Add directories to the project search path.
984
985    S_Clean_Compil  : aliased constant S := "/COMPILER_FILES_ONLY "         &
986                                              "-c";
987    --        /NOCOMPILER_FILES_ONLY (D)
988    --        /COMPILER_FILES_ONLY
989    --
990    --   Only attempt to delete the files produced by the compiler, not those
991    --   produced by the binder or the linker. The files that are not to be
992    --   deleted are library files, interface copy files, binder generated files
993    --   and executable files.
994
995    S_Clean_Current : aliased constant S := "/CURRENT_DIRECTORY "           &
996                                             "!-I-";
997    --        /CURRENT_DIRECTORY (D)
998    --
999    --   Look for ALI or object files in the directory where GNAT CLEAN was
1000    --   invoked.
1001    --
1002    --        /NOCURRENT_DIRECTORY
1003    --
1004    --   Do not look for ALI or object files in the directory where GNAT CLEAN
1005    --   was invoked.
1006
1007    S_Clean_Delete  : aliased constant S := "/DELETE "                      &
1008                                             "!-n";
1009    --        /DELETE (D)
1010    --
1011    --   Delete the files that are not read-only.
1012    --
1013    --        /NODELETE
1014    --
1015    --   Informative-only mode. Do not delete any files. Output the list of the
1016    --   files that would have been deleted if this switch was not specified.
1017
1018    S_Clean_Dirobj  : aliased constant S := "/DIRECTORY_OBJECTS=@"          &
1019                                             "-D@";
1020    --        /DIRECTORY_OBJECTS=<file>
1021    --
1022    --   Find the object files and .ALI files in <file>.
1023    --   This qualifier is not compatible with /PROJECT_FILE.
1024
1025    S_Clean_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'    &
1026                                             "-X" & '"';
1027    --        /EXTERNAL_REFERENCE="name=val"
1028    --
1029    --   Specifies an external reference to the project manager. Useful only if
1030    --   /PROJECT_FILE is used.
1031    --
1032    --   Example:
1033    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
1034
1035    S_Clean_Follow : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
1036                                             "-eL";
1037    --        /NOFOLLOW_LINKS_FOR_FILES (D)
1038    --        /FOLLOW_LINKS_FOR_FILES
1039    --
1040    --    Follow links when parsing project files
1041
1042    S_Clean_Full    : aliased constant S := "/FULL_PATH_IN_BRIEF_MESSAGES " &
1043                                             "-F";
1044    --        /NOFULL_PATH_IN_BRIEF_MESSAGES (D)
1045    --        /FULL_PATH_IN_BRIEF_MESSAGES
1046    --
1047    --   When using project files, if some errors or warnings are detected
1048    --   during parsing and verbose mode is not in effect (no use of qualifier
1049    --   /VERBOSE), then error lines start with the full path name of the
1050    --   project file, rather than its simple file name.
1051
1052    S_Clean_Help    : aliased constant S := "/HELP "                        &
1053                                             "-h";
1054    --        /NOHELP (D)
1055    --        /HELP
1056    --
1057    --   Output a message explaining the usage of gnatclean.
1058
1059    S_Clean_Index   : aliased constant S := "/SOURCE_INDEX=#"               &
1060                                              "-i#";
1061    --        /SOURCE_INDEX=nnn
1062    --
1063    --   Specifies the index of the units in the source file
1064    --   By default, source files are mono-unit and there is no index
1065
1066    S_Clean_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="       &
1067                                             "DEFAULT "                     &
1068                                                "-vP0 "                     &
1069                                             "MEDIUM "                      &
1070                                                "-vP1 "                     &
1071                                             "HIGH "                        &
1072                                                "-vP2";
1073    --        /MESSAGES_PROJECT_FILE[=messages-option]
1074    --
1075    --   Specifies the "verbosity" of the parsing of project files.
1076    --   messages-option may be one of the following:
1077    --
1078    --      DEFAULT (D) No messages are output if there is no error or warning.
1079    --
1080    --      MEDIUM      A small number of messages are output.
1081    --
1082    --      HIGH        A great number of messages are output, most of them not
1083    --                  being useful for the user.
1084
1085    S_Clean_Object  : aliased constant S := "/OBJECT_SEARCH=*"              &
1086                                             "-aO*";
1087    --        /OBJECT_SEARCH=(directory,...)
1088    --
1089    --   When searching for library and object files, look in the specified
1090    --   directories. The order in which library files are searched is the same
1091    --   as for MAKE.
1092
1093    S_Clean_Project : aliased constant S := "/PROJECT_FILE=<"               &
1094                                             "-P>";
1095    --        /PROJECT_FILE=filename
1096    --
1097    --   Specifies the main project file to be used. The project files rooted
1098    --   at the main project file will be parsed before the invocation of the
1099    --   compiler. The source and object directories to be searched will be
1100    --   communicated to gnatclean through logical names ADA_PRJ_INCLUDE_FILE
1101    --   and ADA_PRJ_OBJECTS_FILE.
1102
1103    S_Clean_Quiet   : aliased constant S := "/QUIET "                       &
1104                                             "-q";
1105    --        /NOQUIET (D)
1106    --        /QUIET
1107    --
1108    --   Quiet output. If there are no error, do not output anything, except in
1109    --   verbose mode (qualifier /VERBOSE) or in informative-only mode
1110    --  (qualifier /NODELETE).
1111
1112    S_Clean_Recurs  : aliased constant S := "/RECURSIVE "                   &
1113                                             "-r";
1114    --        /NORECURSIVE (D)
1115    --        /RECURSIVE
1116    --
1117    --   When a project file is specified (using switch -P), clean all imported
1118    --   and extended project files, recursively. If this qualifier is not
1119    --   specified, only the files related to the main project file are to be
1120    --   deleted. This qualifier has no effect if no project file is specified.
1121
1122    S_Clean_Search  : aliased constant S := "/SEARCH=*"                     &
1123                                             "-I*";
1124    --        /SEARCH=(directory,...)
1125    --
1126    --   Equivalent to /OBJECT_SEARCH=(directory,...).
1127
1128    S_Clean_Subdirs : aliased constant S := "/SUBDIRS=<"                    &
1129                                               "--subdirs=>";
1130    --        /SUBDIRS=dir
1131    --
1132    --   The actual directories (object, exec, library, ...) are subdirectories
1133    --   of the directory specified in the project file. If the subdirectory
1134    --   does not exist, it is created automatically.
1135
1136    S_Clean_Verbose : aliased constant S := "/VERBOSE "                     &
1137                                             "-v";
1138    --        /NOVERBOSE (D)
1139    --        /VERBOSE
1140    --
1141    --   Verbose mode.
1142
1143    Clean_Switches : aliased constant Switches :=
1144                       (S_Clean_Add    'Access,
1145                        S_Clean_Compil 'Access,
1146                        S_Clean_Current'Access,
1147                        S_Clean_Delete 'Access,
1148                        S_Clean_Dirobj 'Access,
1149                        S_Clean_Ext    'Access,
1150                        S_Clean_Follow 'Access,
1151                        S_Clean_Full   'Access,
1152                        S_Clean_Help   'Access,
1153                        S_Clean_Index  'Access,
1154                        S_Clean_Mess   'Access,
1155                        S_Clean_Object 'Access,
1156                        S_Clean_Project'Access,
1157                        S_Clean_Quiet  'Access,
1158                        S_Clean_Recurs 'Access,
1159                        S_Clean_Search 'Access,
1160                        S_Clean_Subdirs'Access,
1161                        S_Clean_Verbose'Access);
1162
1163    -------------------------------
1164    -- Switches for GNAT COMPILE --
1165    -------------------------------
1166
1167    S_GCC_Ada_83  : aliased constant S := "/83 "                            &
1168                                              "-gnat83";
1169    --        /NO83 (D)
1170    --        /83
1171    --
1172    --   Although GNAT is primarily an Ada 95 compiler, it accepts this
1173    --   qualifier to specify that an Ada 83 mode program is being compiled. If
1174    --   you specify this qualifier, GNAT rejects Ada 95 extensions and applies
1175    --   Ada 83 semantics. It is not possible to guarantee this qualifier does
1176    --   a perfect job; for example, some subtle tests of pathological cases,
1177    --   such as are found in ACVC tests that have been removed from the ACVC
1178    --   suite for Ada 95, may not compile correctly. However for practical
1179    --   purposes, using this qualifier should ensure that programs that
1180    --   compile correctly under the /83 qualifier can be ported reasonably
1181    --   easily to an Ada 83 compiler. This is the main use of this qualifier.
1182    --
1183    --   With few exceptions (most notably the need to use "<>" on
1184    --   unconstrained generic formal parameters), it is not necessary to use
1185    --   this qualifier switch when compiling Ada 83 programs, because, with
1186    --   rare and obscure exceptions, Ada 95 is upwardly compatible with Ada
1187    --   83. This means that a correct Ada 83 program is usually also a correct
1188    --   Ada 95 program.
1189
1190    S_GCC_Ada_95  : aliased constant S := "/95 "                            &
1191                                              "-gnat95";
1192    --        /95 (D)
1193    --
1194    --   Allows GNAT to recognize the full range of Ada 95 constructs.
1195    --   This is the normal default for GNAT Pro.
1196
1197    S_GCC_Ada_05 : aliased constant S := "/05 "                             &
1198                                              "-gnat05";
1199    --        /05 (D)
1200    --
1201    --   Allows GNAT to recognize all implemented proposed Ada 2005
1202    --   extensions. See features file for list of implemented features.
1203
1204    S_GCC_Add     : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"       &
1205                                             "-aP*";
1206    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
1207    --
1208    --   Add directories to the project search path.
1209
1210    S_GCC_Asm     : aliased constant S := "/ASM "                           &
1211                                              "-S,!-c";
1212    --        /NOASM (D)
1213    --        /ASM
1214    --
1215    --   Use to cause the assembler source file to be generated, using S as the
1216    --   filetype, instead of the object file. This may be useful if you need
1217    --   to examine the generated assembly code.
1218
1219    S_GCC_Checks  : aliased constant S := "/CHECKS="                        &
1220                                              "FULL "                       &
1221                                                 "-gnato,!-gnatE,!-gnatp "  &
1222                                              "OVERFLOW "                   &
1223                                                 "-gnato "                  &
1224                                              "ELABORATION "                &
1225                                                 "-gnatE "                  &
1226                                              "ASSERTIONS "                 &
1227                                                 "-gnata "                  &
1228                                              "DEFAULT "                    &
1229                                                 "!-gnato,!-gnatp "         &
1230                                              "STACK "                      &
1231                                                 "-fstack-check "           &
1232                                              "SUPPRESS_ALL "               &
1233                                                 "-gnatp";
1234    --        /NOCHECKS
1235    --        /CHECKS[=(keyword[,...])]
1236    --
1237    --   If you compile with the default options, GNAT will insert many runtime
1238    --   checks into the compiled code, including code that performs range
1239    --   checking against constraints, but not arithmetic overflow checking for
1240    --   integer operations (including division by zero) or checks for access
1241    --   before elaboration on subprogram calls.  All other runtime checks, as
1242    --   required by the Ada 95 Reference Manual, are generated by default.
1243    --
1244    --   You may specify one or more of the following keywords to the /CHECKS
1245    --   qualifier to modify this behavior:
1246    --
1247    --     DEFAULT       The behavior described above. This is the default
1248    --                   if the /CHECKS qualifier is not present on the
1249    --                   command line. Same as /NOCHECKS.
1250    --
1251    --     OVERFLOW      Enables overflow checking for integer operations and
1252    --                   checks for access before elaboration on subprogram
1253    --                   calls. This causes GNAT to generate slower and larger
1254    --                   executable programs by adding code to check for both
1255    --                   overflow and division by zero (resulting in raising
1256    --                   "Constraint_Error" as required by Ada semantics).
1257    --                   Similarly, GNAT does not generate elaboration check
1258    --                   by default, and you must specify this keyword to
1259    --                   enable them.
1260    --
1261    --                   Note that this keyword does not affect the code
1262    --                   generated for any floating-point operations; it
1263    --                   applies only to integer operations. For floating-point,
1264    --                   GNAT has the "Machine_Overflows" attribute set to
1265    --                   "False" and the normal mode of operation is to generate
1266    --                   IEEE NaN and infinite values on overflow or invalid
1267    --                   operations (such as dividing 0.0 by 0.0).
1268    --
1269    --     ELABORATION   Enables dynamic checks for access-before-elaboration
1270    --                   on subprogram calls and generic instantiations.
1271    --
1272    --     ASSERTIONS    The pragmas "Assert" and "Debug" normally have no
1273    --                   effect and are ignored. This keyword causes "Assert"
1274    --                   and "Debug" pragmas to be activated, as well as
1275    --                   "Check", "Precondition" and "Postcondition" pragmas.
1276    --
1277    --     SUPPRESS_ALL  Suppress all runtime checks as though you have "pragma
1278    --                   Suppress (all_checks)" in your source. Use this switch
1279    --                   to improve the performance of the code at the expense
1280    --                   of safety in the presence of invalid data or program
1281    --                   bugs.
1282    --
1283    --     DEFAULT       Suppress the effect of any option OVERFLOW or
1284    --                   ASSERTIONS.
1285    --
1286    --     FULL (D)      Similar to OVERFLOW, but suppress the effect of any
1287    --                   option ELABORATION or SUPPRESS_ALL.
1288    --
1289    --   These keywords only control the default setting of the checks.  You
1290    --   may modify them using either "Suppress" (to remove checks) or
1291    --   "Unsuppress" (to add back suppressed checks) pragmas in your program
1292    --   source.
1293
1294    S_GCC_ChecksX : aliased constant S := "/NOCHECKS "                      &
1295                                              "-gnatp,!-gnato,!-gnatE";
1296    --  NODOC (see /CHECKS)
1297
1298    S_GCC_Compres : aliased constant S := "/COMPRESS_NAMES "                &
1299                                              "-gnatC";
1300    --        /NOCOMPRESS_NAMES (D)
1301    --        /COMPRESS_NAMES
1302    --
1303    --   Compress debug information and external symbol name table entries.
1304    --   In the generated debugging information, and also in the case of long
1305    --   external names, the compiler uses a compression mechanism if the name
1306    --   is very long.  This compression method uses a checksum, and avoids
1307    --   trouble on some operating systems which have difficulty with very long
1308    --   names.
1309
1310    S_GCC_Config  : aliased constant S := "/CONFIGURATION_PRAGMAS_FILE=<"   &
1311                                              "-gnatec>";
1312    --        /CONFIGURATION_PRAGMAS_FILE=file
1313    --
1314    --   Specify a configuration pragmas file that need to be taken into account
1315
1316    S_GCC_Current : aliased constant S := "/CURRENT_DIRECTORY "             &
1317                                              "!-I-";
1318    --        /CURRENT_DIRECTORY (D)
1319    --        /NOCURRENT_DIRECTORY
1320    --
1321    --   Look for source files in the default directory.
1322
1323    S_GCC_Data    : aliased constant S := "/DATA_PREPROCESSING=<"           &
1324                                             "-gnatep>";
1325    --        /DATA_PREPROCESSING=file_name
1326    --
1327    --   This qualifier indicates to the compiler the file name (without
1328    --   directory information) of the preprocessor data file to use.
1329    --   The preprocessor data file should be found in the source directories.
1330    --
1331    --   A preprocessing data file is a text file with significant lines
1332    --   indicating how should be preprocessed either a specific source or all
1333    --   sources not mentioned in other lines. A significant line is a non
1334    --   empty, non comment line. Comments are similar to Ada comments.
1335    --
1336    --  Each significant line starts with either a literal string or the
1337    --  character '*'. A literal string is the file name (without directory
1338    --  information) of the source to preprocess. A character '*' indicates the
1339    --  preprocessing for all the sources that are not specified explicitly on
1340    --  other lines. It is an error to have two lines with the same file name
1341    --  or two lines starting with the character '*'.
1342    --
1343    --  After the file name or the character '*', another optional literal
1344    --  string indicating the file name of the definition file to be used for
1345    --  preprocessing. (see 15.3 Form of Definitions File. The definition files
1346    --  are found by the compiler in one of the source directories. In some
1347    --  cases, when compiling a source in a directory other than the current
1348    --  directory, if the definition file is in the current directory, it may
1349    --  be necessary to add the current directory as a source directory through
1350    --  qualifier "/SEARCH=[]", otherwise the compiler would not find the
1351    --  definition file.
1352    --
1353    --  Then, optionally, switches similar to those of gnatprep may be found.
1354    --  Those switches are:
1355    --
1356    --   -b              Causes both preprocessor lines and the lines deleted by
1357    --                   preprocessing to be replaced by blank lines, preserving
1358    --                   the line number. This switch is always implied;
1359    --                   however, if specified after `-c' it cancels the effect
1360    --                   of `-c'.
1361    --
1362    --   -c              Causes both preprocessor lines and the lines deleted by
1363    --                   preprocessing to be retained as comments marked with
1364    --                   the special string "--! ".
1365    --
1366    --   -Dsymbol=value  Define or redefine a symbol, associated with value.
1367    --                   A symbol is an Ada identifier, or an Ada reserved word,
1368    --                   with the exception of "if", "else", "elsif", "end",
1369    --                   "and", "or" and "then". value is either a literal
1370    --                   string, an Ada identifier or any Ada reserved word.
1371    --                   A symbol declared with this switch replaces a symbol
1372    --                   with the same name defined in a definition file.
1373    --
1374    --   -s              Causes a sorted list of symbol names and values to be
1375    --                   listed on the standard output file.
1376    --
1377    --   -u              Causes undefined symbols to be treated as having the
1378    --                   value FALSE in the context of a preprocessor test.
1379    --                   In the absence of this option, an undefined symbol
1380    --                   in a #if or #elsif test will be treated as an error.
1381    --
1382    --   Examples of valid lines in a preprocessor data file:
1383    --
1384    --     "toto.adb"  "prep.def" -u
1385    --     --  preprocess "toto.adb", using definition file "prep.def",
1386    --     --  undefined symbol are False.
1387    --
1388    --     * -c -DVERSION=V101
1389    --     --  preprocess all other sources without a definition file;
1390    --     --  suppressed lined are commented; symbol VERSION has the value
1391    --     --  V101.
1392    --
1393    --     "titi.adb" "prep2.def" -s
1394    --     --  preprocess "titi.adb", using definition file "prep2.def";
1395    --     --  list all symbols with their values.
1396
1397    S_GCC_Debug   : aliased constant S := "/DEBUG="                         &
1398                                             "SYMBOLS "                     &
1399                                                "-g2 "                      &
1400                                             "NOSYMBOLS "                   &
1401                                                "!-g2 "                     &
1402                                             "TRACEBACK "                   &
1403                                                "-g1 "                      &
1404                                             "ALL "                         &
1405                                                "-g3 "                      &
1406                                             "NONE "                        &
1407                                                "-g0 "                      &
1408                                             "NOTRACEBACK "                 &
1409                                                "-g0";
1410    --        /DEBUG[=debug-level]
1411    --        /NODEBUG
1412    --
1413    --   Specifies how much debugging information is to be included in
1414    --   the resulting object fie.
1415    --
1416    --   'debug-level' is one of the following:
1417    --
1418    --        SYMBOLS (D)    Include both debugger symbol records and traceback
1419    --                       in the object file.
1420    --
1421    --        ALL            Include debugger symbol records, traceback plus
1422    --                       extra debug information in the object file.
1423    --
1424    --        NONE           Excludes both debugger symbol records and traceback
1425    --                       from the object file.  Same as /NODEBUG.
1426    --
1427    --        TRACEBACK      Includes only traceback records in the object
1428    --                       file. This is the default when /DEBUG is not used.
1429
1430    S_GCC_DebugX  : aliased constant S := "/NODEBUG "                       &
1431                                              "!-g";
1432    --  NODOC (see /Debug)
1433
1434    S_GCC_Dist    : aliased constant S := "/DISTRIBUTION_STUBS="            &
1435                                             "RECEIVER "                    &
1436                                                "-gnatzr "                  &
1437                                             "CALLER "                      &
1438                                               "-gnatzc";
1439    --        /NODISTRIBUTION_STUBS (D)
1440    --        /DISTRIBUTION_STUBS[=dist-opt]
1441    --
1442    --   'dist-opt' is either RECEIVER (the default) or SENDER and indicates
1443    --   that stubs for use in distributed programs (see the Distributed
1444    --   Systems Annex of the Ada RM) should be generated.
1445
1446    S_GCC_DistX   : aliased constant S := "/NODISTRIBUTION_STUBS "          &
1447                                             "!-gnatzr,!-gnatzc";
1448    --  NODOC (see /DISTRIBUTION_STUBS)
1449
1450    S_GCC_Error   : aliased constant S := "/ERROR_LIMIT=#"                  &
1451                                             "-gnatm#";
1452    --        /NOERROR_LIMIT (D)
1453    --        /ERROR_LIMIT=nnn
1454    --
1455    --   NNN is a decimal integer in the range of 1 to 999999 and limits the
1456    --   number of error messages to be generated to that number.  Once that
1457    --   number has been reached, the compilation is abandoned.
1458    --   Specifying 999999 is equivalent to /NOERROR_LIMIT.
1459
1460    S_GCC_ErrorX  : aliased constant S := "/NOERROR_LIMIT "                 &
1461                                             "-gnatm999999";
1462    --  NODOC (see /ERROR_LIMIT)
1463
1464    S_GCC_Expand  : aliased constant S := "/EXPAND_SOURCE "                 &
1465                                             "-gnatG";
1466    --        /NOEXPAND_SOURCE (D)
1467    --        /EXPAND_SOURCE
1468    --
1469    --   Produces a listing of the expanded code in Ada source form. For
1470    --   example, all tasking constructs are reduced to appropriate run-time
1471    --   library calls.
1472
1473    S_GCC_Extend  : aliased constant S := "/EXTENSIONS_ALLOWED "            &
1474                                             "-gnatX";
1475    --        /NOEXTENSIONS_ALLOWED (D)
1476    --        /EXTENSIONS_ALLOWED
1477    --
1478    --   GNAT specific language extensions allowed.
1479
1480    S_GCC_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'      &
1481                                             "-X" & '"';
1482    --        /EXTERNAL_REFERENCE="name=val"
1483    --
1484    --   Specifies an external reference to the project manager. Useful only if
1485    --   /PROJECT_FILE is used.
1486    --
1487    --   Example:
1488    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
1489
1490    S_GCC_File    : aliased constant S := "/FILE_NAME_MAX_LENGTH=#"         &
1491                                             "-gnatk#";
1492    --        /FILE_NAME_MAX_LENGTH=nnn
1493    --
1494    --   Activates file name "krunching". NNN, a decimal integer in the range
1495    --   1-999, indicates the maximum allowable length of a file name (not
1496    --   including the ADS or ADB filetype. The default is not to enable file
1497    --   name krunching.
1498
1499    S_GCC_Follow : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
1500                                             "-eL";
1501    --        /NOFOLLOW_LINKS_FOR_FILES (D)
1502    --        /FOLLOW_LINKS_FOR_FILES
1503    --
1504    --    Follow links when parsing project files
1505
1506    S_GCC_Force   : aliased constant S := "/FORCE_ALI "                     &
1507                                             "-gnatQ";
1508    --        /NOFORCE_ALI (D)
1509    --        /FORCE_ALI
1510    --
1511    --   In normal operation mode, the .ALI file is not generated if any
1512    --   illegalities are detected in the program. The use of this qualifier
1513    --   forces generation of the .ALI file. This file is marked as being
1514    --   in error, so it cannot be used for binding purposes, but it does
1515    --   contain reasonably complete cross-reference information, and thus may
1516    --   be useful for use by tools (e.g. semantic browsing tools or integrated
1517    --   development environments) that are driven from the .ALI file.
1518
1519    S_GCC_Full    : aliased constant S := "/FULL_PATH_IN_BRIEF_MESSAGES "   &
1520                                             "-gnatef";
1521    --        /NOFULL_PATH_IN_BRIEF_MESSAGES (D)
1522    --        /FULL_PATH_IN_BRIEF_MESSAGES
1523    --
1524    --   When using project files, if some errors or warnings are detected
1525    --   during parsing and verbose mode is not in effect (no use of qualifier
1526    --   /VERBOSE), then error lines start with the full path name of the
1527    --   project file, rather than its simple file name.
1528
1529    S_GCC_GNAT    : aliased constant S := "/GNAT_INTERNAL "                 &
1530                                             "-gnatg";
1531    --        /NOGNAT_INTERNAL (D)
1532    --        /GNAT_INTERNAL
1533    --
1534    --        Internal GNAT implementation mode. This should not be used for
1535    --        applications programs, it is intended only for use by the compiler
1536    --        and its run-time library. For documentation, see the GNAT sources.
1537    --        Note that it implies /WARNINGS=ALL,ERRORS and /STYLE_CHECKS=GNAT
1538    --        so that all standard warnings and all standard style options are
1539    --        turned on. All warnings and style error messages are treated as
1540    --        errors.
1541
1542    S_GCC_Help    : aliased constant S := "/HELP "                          &
1543                                             "-gnath";
1544    --        /NOHELP (D)
1545    --        /HELP
1546    --
1547    --   Output usage information.
1548
1549    S_GCC_Ident   : aliased constant S := "/IDENTIFIER_CHARACTER_SET="      &
1550                                              "DEFAULT "                    &
1551                                                 "-gnati1 "                 &
1552                                              "1 "                          &
1553                                                 "-gnati1 "                 &
1554                                              "2 "                          &
1555                                                 "-gnati2 "                 &
1556                                              "3 "                          &
1557                                                 "-gnati3 "                 &
1558                                              "4 "                          &
1559                                                 "-gnati4 "                 &
1560                                              "5 "                          &
1561                                                 "-gnati5 "                 &
1562                                              "PC "                         &
1563                                                 "-gnatip "                 &
1564                                              "PC850 "                      &
1565                                                 "-gnati8 "                 &
1566                                              "FULL_UPPER "                 &
1567                                                 "-gnatif "                 &
1568                                              "NO_UPPER "                   &
1569                                                 "-gnatin "                 &
1570                                              "WIDE "                       &
1571                                                 "-gnatiw";
1572    --        /NOIDENTIFIER_CHARACTER_SET (D)
1573    --        /IDENTIFIER_CHARACTER_SET=char-set
1574    --
1575    --   Normally GNAT recognizes the Latin-1 character set in source program
1576    --   identifiers, as described in the reference manual. This qualifier
1577    --   causes GNAT to recognize alternate character sets in identifiers.
1578    --   'char-set' is one of the following strings indicating the character
1579    --   set:
1580    --
1581    --        DEFAULT (D) Equivalent to 1, below. Also equivalent to
1582    --                    /NOIDENTIFIER_CHARACTER_SET.
1583    --
1584    --        1           The basic character set is Latin-1. This character
1585    --                    set is defined by ISO standard 8859, part 1. The lower
1586    --                    half (character codes 16#00# ... 16#7F#) is identical
1587    --                    to standard ASCII coding, but the upper half is used
1588    --                    to represent additional characters. This includes
1589    --                    extended letters used by European languages, such as
1590    --                    the umlaut used in German.
1591    --
1592    --                    You may use any of these extended characters freely
1593    --                    in character or string literals. In addition, the
1594    --                    extended characters that represent letters can be
1595    --                    used in identifiers.
1596    --
1597    --        2           Latin-2 letters allowed in identifiers, with uppercase
1598    --                    and lowercase equivalence.
1599    --
1600    --        3           Latin-3 letters allowed in identifiers, with uppercase
1601    --                    and lower case equivalence.
1602    --
1603    --        4           Latin-4 letters allowed in identifiers, with uppercase
1604    --                    and lower case equivalence.
1605    --
1606    --        PC          IBM PC code page 437.  This code page is the normal
1607    --                    default for PCs in the U.S. It corresponds to the
1608    --                    original IBM PC character set. This set has some, but
1609    --                    not all, of the extended Latin-1 letters, but these
1610    --                    letters do not have the same encoding as Latin-1. In
1611    --                    this mode, these letters are allowed in identifiers
1612    --                    with uppercase and lowercase equivalence.
1613    --
1614    --        PC850       This code page (850) is a modification of 437 extended
1615    --                    to include all the Latin-1 letters, but still not with
1616    --                    the usual Latin-1 encoding. In this mode, all these
1617    --                    letters are allowed in identifiers with uppercase and
1618    --                    lower case equivalence.
1619    --
1620    --        FULL_UPPER  Any character in the range 80-FF allowed in
1621    --                    identifiers, and all are considered distinct.  In
1622    --                    other words, there are no uppercase and lower case
1623    --                    equivalences in this range.
1624    --
1625    --        NO_UPPER    No upper-half characters in the range 80-FF are
1626    --                    allowed in identifiers.  This gives Ada 95
1627    --                    compatibility for identifier names.
1628    --
1629    --        WIDE        GNAT allows wide character codes to appear in
1630    --                    character and string literals, and also optionally
1631    --                    in identifiers.  See the /WIDE_CHARACTER_ENCODING
1632    --                    qualifier for information on encoding formats.
1633
1634    S_GCC_IdentX  : aliased constant S := "/NOIDENTIFIER_CHARACTER_SET "    &
1635                                              "-gnati1";
1636    --  NODOC (see /IDENTIFIER_CHARACTER_SET)
1637
1638    S_GCC_Ignore  : aliased constant S := "/IGNORE_REP_CLAUSES "            &
1639                                              "-gnatI";
1640    --        /IGNORE_REP_CLAUSES
1641    --
1642    --   Causes all representation clauses to be ignored and treated as
1643    --   comments. Useful when compiling foreign code (for example when ASIS
1644    --   is used to analyze such code).
1645
1646    S_GCC_Immed   : aliased constant S := "/IMMEDIATE_ERRORS "              &
1647                                              "-gnatdO";
1648    --        /NOIMMEDIATE_ERRORS (D)
1649    --        /IMMEDIATE_ERRORS
1650    --
1651    --   Causes errors to be displayed as soon as they are encountered, rather
1652    --   than after compilation is terminated. If GNAT terminates prematurely
1653    --   or goes into an infinite loop, the last error message displayed may
1654    --   help to pinpoint the culprit.
1655
1656    S_GCC_Inline  : aliased constant S := "/INLINE="                        &
1657                                             "PRAGMA "                      &
1658                                               "-gnatn "                    &
1659                                             "FULL "                        &
1660                                               "-gnatN "                    &
1661                                             "SUPPRESS "                    &
1662                                               "-fno-inline";
1663    --        /NOINLINE (D)
1664    --        /INLINE[=keyword]
1665    --
1666    --   Selects the level of inlining for your program.  In the absence of this
1667    --   qualifier, GNAT does not attempt inlining across units and does not
1668    --   need to access the bodies of subprograms for which "pragma Inline" is
1669    --   specified if they are not in the current unit.
1670    --
1671    --   The supported keywords are as follows:
1672    --
1673    --        PRAGMA (D)  Recognize and process "Inline" pragmas.  However,
1674    --                    for the inlining to actually occur, optimization
1675    --                    must be enabled.  This enables inlining across unit
1676    --                    boundaries, that is, inlining a call in one unit of
1677    --                    a subprogram declared in a with'ed unit. The compiler
1678    --                    will access these bodies, creating an extra source
1679    --                    dependency for the resulting object file, and where
1680    --                    possible, the call will be inlined.
1681    --
1682    --                    This qualifier also turns on full optimization and
1683    --                    requests GNAT to try to attempt automatic inlining
1684    --                    of small subprograms within a unit.
1685    --
1686    --                    Specifying /OPTIMIZE=NONE will disable the main effect
1687    --                    of this qualifier, but you may specify other
1688    --                    optimization options, to get either lower
1689    --                    (/OPTIMIZE=SOME) or higher (/OPTIMIZE=UNROLL_LOOPS)
1690    --                    levels of optimization.
1691    --
1692    --        FULL        Front end inlining. The front end inlining activated
1693    --                    by this switch is generally more extensive, and quite
1694    --                    often more effective than the standard PRAGMA inlining
1695    --                    mode. It will also generate additional dependencies.
1696    --
1697    --        SUPPRESS    Suppresses all inlining, even if other optimization
1698    --                        or inlining switches are set.
1699
1700    S_GCC_InlineX : aliased constant S := "/NOINLINE "                      &
1701                                              "!-gnatn,!-gnatN";
1702    --  NODOC (see /INLINE)
1703
1704    S_GCC_Intsrc  : aliased constant S := "/INTERSPERSE_SOURCE "            &
1705                                              "-gnatL";
1706
1707    --        /NO_INTERSPERSE_SOURCE (D)
1708    --        /INTERSPERSE_SOURCE
1709    --
1710    --   Causes output from /XDEBUG or /EXPAND_SOURCE to be interspersed with
1711    --   lines from the original source file, output as comment lines with the
1712    --   associated line number.
1713
1714    S_GCC_Just   : aliased constant S := "/JUSTIFY_MESSAGES=#"              &
1715                                              "-gnatj#";
1716
1717    --        /NO_JUSTIFY_MESSAGES (D)
1718    --        /JUSTIFY_MESSAGES=nnn
1719    --
1720    --   Causes error messages to be reformatted so that a message and all its
1721    --   continuation lines count as one warning or error in the statistics on
1722    --   total errors, and the message is broken down into lines (justified) so
1723    --   that no line is longer than nnn characters. The default message
1724    --   behavior (each message counted separately and not reformatted to fit
1725    --   a particular line length) can be obtained using /NO_JUSTIFY_MESSAGES.
1726
1727    S_GCC_JustX  : aliased constant S := "/NO_JUSTIFY_MESSAGES "            &
1728                                              "-gnatj0";
1729
1730    --  NODOC (see /JUSTIFY_MESSAGES)
1731
1732    S_GCC_Length  : aliased constant S := "/MAX_LINE_LENGTH=#"              &
1733                                              "-gnatyM#";
1734    --        /MAX_LINE_LENGTH=nnn
1735    --
1736    --   Set maximum line length.
1737    --   The length of lines must not exceed the given value nnn.
1738
1739    S_GCC_List    : aliased constant S := "/LIST "                          &
1740                                              "-gnatl";
1741    --        /NOLIST (D)
1742    --        /LIST
1743    --
1744    --   Cause a full listing of the file to be generated. In the case where
1745    --   a body is compiled, the corresponding spec is also listed, along
1746    --   with any subunits.
1747
1748    S_GCC_Mapping : aliased constant S := "/MAPPING_FILE=<"                 &
1749                                             "-gnatem>";
1750    --        /MAPPING_FILE=file_name
1751    --
1752    --   Use mapping file file_name
1753    --
1754    --   A mapping file is a way to communicate to the compiler two mappings:
1755    --   from unit names to file names (without any directory information) and
1756    --   from file names to path names (with full directory information).
1757    --   These mappings are used by the compiler to short-circuit the path
1758    --   search.
1759    --
1760    --   The use of mapping files is not required for correct operation of the
1761    --   compiler, but mapping files can improve efficiency, particularly when
1762    --   sources are read over a slow network connection. In normal operation,
1763    --   you need not be concerned with the format or use of mapping files,
1764    --   and /MAPPING_FILE is not a qualifier that you would use explicitly.
1765    --   It is intended only for use by automatic tools such as GNAT MAKE
1766    --   running under the project file facility. The description here of the
1767    --   format of mapping files is provided for completeness and for possible
1768    --   use by other tools.
1769    --
1770    --   A mapping file is a sequence of sets of three lines. In each set, the
1771    --   first line is the unit name, in lower case, with "%s" appended for
1772    --   specifications and "%b" appended for bodies; the second line is the
1773    --   file name; and the third line is the path name.
1774    --
1775    --   Example:
1776    --
1777    --      main%b
1778    --      main.2_ada
1779    --      /gnat/project1/sources/main.2_ada
1780    --
1781    --   When qualifier ?MAPPING_FILE is specified, the compiler will create in
1782    --   memory the two mappings from the specified file. If there is any
1783    --   problem (non existent file, truncated file or duplicate entries),
1784    --   no mapping will be created.
1785    --
1786    --   Several /MAPPING_FILE qualifiers may be specified; however, only the
1787    --   last one on the command line will be taken into account.
1788    --
1789    --   When using a project file, GNAT MAKE creates a temporary mapping file
1790    --   and communicates it to the compiler using this switch.
1791
1792    S_GCC_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="         &
1793                                             "DEFAULT "                     &
1794                                                "-vP0 "                     &
1795                                             "MEDIUM "                      &
1796                                                "-vP1 "                     &
1797                                             "HIGH "                        &
1798                                                "-vP2";
1799    --        /MESSAGES_PROJECT_FILE[=messages-option]
1800    --
1801    --   Specifies the "verbosity" of the parsing of project files.
1802    --   messages-option may be one of the following:
1803    --
1804    --      DEFAULT (D) No messages are output if there is no error or warning.
1805    --
1806    --      MEDIUM      A small number of messages are output.
1807    --
1808    --      HIGH        A great number of messages are output, most of them not
1809    --                  being useful for the user.
1810
1811    S_GCC_Nesting  : aliased constant S := "/MAX_NESTING=#"                 &
1812                                              "-gnatyL#";
1813    --        /MAX_NESTING=nnn
1814    --
1815    --   Set maximum level of nesting of constructs (including subprograms,
1816    --   loops, blocks, packages, and conditionals).
1817    --   The level of nesting must not exceed the given value nnn.
1818    --   A value of zero disable this style check (not enabled by default).
1819
1820    S_GCC_Noadc   : aliased constant S := "/NO_GNAT_ADC "                   &
1821                                              "-gnatA";
1822    --        /NO_GNAT_ADC
1823    --
1824    --   Cause the compiler to ignore any configuration pragmas file GNAT.ADC
1825    --   in the default directory. Implied by qualifier /PROJECT_FILE.
1826    --   Often used in conjunction with qualifier /CONFIGURATION_PRAGMAS_FILE.
1827
1828    S_GCC_Noload  : aliased constant S := "/NOLOAD "                        &
1829                                              "-gnatc";
1830    --        /NOLOAD
1831    --
1832    --   Cause the compiler to operate in semantic check mode with full
1833    --   checking for all illegalities specified in the reference manual, but
1834    --   without generation of any source code (no object or ALI file
1835    --   generated).
1836    --
1837    --   Since dependent files must be accessed, you must follow the GNAT
1838    --   semantic restrictions on file structuring to operate in this mode:
1839    --
1840    --   o The needed source files must be accessible.
1841    --   o Each file must contain only one compilation unit.
1842    --   o The file name and unit name must match.
1843    --
1844    --   The output consists of error messages as appropriate. No object file
1845    --   or ALI file is generated. The checking corresponds exactly to the
1846    --   notion of legality in the Ada reference manual.
1847    --
1848    --   Any unit can be compiled in semantics-checking-only mode, including
1849    --   units that would not normally be compiled (generic library units,
1850    --   subunits, and specifications where a separate body is present).
1851
1852    S_GCC_Nostinc : aliased constant S := "/NOSTD_INCLUDES "                &
1853                                              "-nostdinc";
1854    --        /NOSTD_INCLUDES
1855    --
1856    --   Do not look in the default directory for source files of the runtime.
1857
1858    S_GCC_Nostlib : aliased constant S := "/NOSTD_LIBRARIES "               &
1859                                             "-nostdlib";
1860    --        /NOSTD_LIBRARIES
1861    --
1862    --    Do not look for library files in the system default directory.
1863
1864    S_GCC_Opt     : aliased constant S := "/OPTIMIZE="                      &
1865                                             "ALL "                         &
1866                                                "-O2,!-O0,!-O1,!-O3 "       &
1867                                             "NONE "                        &
1868                                                "-O0,!-O1,!-O2,!-O3 "       &
1869                                             "SOME "                        &
1870                                                "-O1,!-O0,!-O2,!-O3 "       &
1871                                             "SPACE "                       &
1872                                                "-Os,!-O0,!-O1,!-O2,!-O3 "  &
1873                                             "DEVELOPMENT "                 &
1874                                                "-O1,!-O0,!-O2,!-O3 "       &
1875                                             "UNROLL_LOOPS "                &
1876                                                "-funroll-loops "           &
1877                                             "NO_STRICT_ALIASING "          &
1878                                                "-fno-strict-aliasing "     &
1879                                             "INLINING "                    &
1880                                                "-O3,!-O0,!-O1,!-O2";
1881    --        /NOOPTIMIZE (D)
1882    --        /OPTIMIZE[=(keyword[,...])]
1883    --
1884    --   Selects the level of optimization for your program.  The supported
1885    --   keywords are as follows:
1886    --
1887    --      ALL (D)       Perform most optimizations, including those that
1888    --                    may be expensive.
1889    --
1890    --      NONE          Do not do any optimizations. Same as /NOOPTIMIZE.
1891    --
1892    --      SOME          Perform some optimizations, but omit ones that
1893    --                    are costly in compilation time.
1894    --
1895    --      SPACE         Optimize space usage
1896    --
1897    --      DEVELOPMENT   Same as SOME.
1898    --
1899    --      INLINING      Full optimization, and also attempt automatic inlining
1900    --                    of small subprograms within a unit
1901    --
1902    --      UNROLL_LOOPS  Try to unroll loops. This keyword may be specified
1903    --                    with any keyword above other than NONE. Loop
1904    --                    unrolling usually, but not always, improves the
1905    --                    performance of programs.
1906    --
1907    --      NO_STRICT_ALIASING
1908    --                    Suppress aliasing analysis. When optimization is
1909    --                    enabled (ALL or SOME above), the compiler assumes
1910    --                    that pointers do in fact point to legitimate values
1911    --                    of the pointer type (allocated from the proper pool).
1912    --                    If this assumption is violated, e.g. by the use of
1913    --                    unchecked conversion, then it may be necessary to
1914    --                    suppress this assumption using this keyword (which
1915    --                    may be specified only in conjunction with any
1916    --                    keyword above, other than NONE).
1917
1918    S_GCC_OptX    : aliased constant S := "/NOOPTIMIZE "                    &
1919                                             "-O0,!-O1,!-O2,!-O3";
1920    --  NODOC (see /OPTIMIZE)
1921
1922    S_GCC_Output  : aliased constant S := "/OUTPUT_FILE=<"                  &
1923                                             "-gnatl=>";
1924    --        /OUTPUT_FILE=fname
1925    --
1926    --   This has the same effect as /LIST except that the output is written
1927    --   to a file instead of to standard output. If the given fname
1928    --   does not start with a period, then it is the full name of the file
1929    --   to be written. If fname starts with a period, the name of the file
1930    --   is the concatenation of to the name of the file being compiled with
1931    --   fname where the period is replace by an underline. For example, if
1932    --   file xyz.adb is compiled with -gnatl=.lst, then the output is written
1933    --   to file xyz.adb_lst.
1934
1935    S_GCC_Polling : aliased constant S := "/POLLING "                       &
1936                                             "-gnatP";
1937    --        /NOPOLLING (D)
1938    --        /POLLING
1939    --
1940    --   Enable polling. See the description of pragma Polling in the GNAT
1941    --   Reference Manual for full details.
1942
1943    S_GCC_Project : aliased constant S := "/PROJECT_FILE=<"                 &
1944                                             "-P>";
1945    --        /PROJECT_FILE=filename
1946    --
1947    --   Specifies the main project file to be used. The project files rooted
1948    --   at the main project file will be parsed before the invocation of the
1949    --   compiler. The source and object directories to be searched will be
1950    --   communicated to the compiler through logical names
1951    --   ADA_PRJ_INCLUDE_FILE and ADA_PRJ_OBJECTS_FILE.
1952
1953    S_GCC_Psta    : aliased constant S := "/PRINT_STANDARD "                &
1954                                             "-gnatS";
1955    --        /PRINT_STANDARD
1956    --
1957    --   cause the compiler to output a representation of package Standard
1958    --   in a form very close to standard Ada. It is not quite possible to
1959    --   do this and remain entirely Standard (since new numeric base types
1960    --   cannot be created in standard Ada), but the output is easily
1961    --   readable to any Ada programmer, and is useful to determine the
1962    --   characteristics of target dependent types in package Standard.
1963
1964    S_GCC_Reswarn : aliased constant S := "/TREAT_RESTRICTIONS_AS_WARNINGS " &
1965                                              "-gnatr";
1966
1967    --        /NO_TREAT_RESTRICTIONS_AS_WARNINGS (D)
1968    --        /TREAT_RESTRICTIONS_AS_WARNINGS
1969    --
1970    --   Causes all restrictions to be treated as warnings (pragma Restriction
1971    --   treated as Restriction_Warnings, pragma Profile as Profile_Warnings,
1972    --   and pragma Ravenscar sets restriction warnings instead of restrictions)
1973
1974    S_GCC_Report  : aliased constant S := "/REPORT_ERRORS="                 &
1975                                             "VERBOSE "                     &
1976                                                "-gnatv "                   &
1977                                             "BRIEF "                       &
1978                                                "-gnatb "                   &
1979                                             "FULL "                        &
1980                                                "-gnatf "                   &
1981                                             "IMMEDIATE "                   &
1982                                                "-gnatdO "                  &
1983                                             "DEFAULT "                     &
1984                                                "!-gnatb,!-gnatv";
1985    --        /NOREPORT_ERRORS (D)
1986    --        /REPORT_ERRORS[=(keyword[,...])]
1987    --
1988    --   Change the way errors are reported.  The following keywords are
1989    --   supported:
1990    --
1991    --        VERBOSE (D)  Verbose mode. Full error output with source lines
1992    --                     to SYS$OUTPUT.
1993    --
1994    --        BRIEF        Generate the brief format error messages to
1995    --                     SYS$OUTPUT as well as the verbose format message or
1996    --                     full listing.
1997    --
1998    --        FULL         Normally, the compiler suppresses error messages that
1999    --                     are likely to be redundant. This keyword causes all
2000    --                     error messages to be generated. One particular effect
2001    --                     is for the case of references to undefined variables.
2002    --                     If a given variable is referenced several times, the
2003    --                     normal format of messages produces one error.  With
2004    --                     FULL, each undefined reference produces a separate
2005    --                     error message.
2006    --
2007    --        IMMEDIATE    Normally, the compiler saves up error messages and
2008    --                     generates them at the end of compilation in proper
2009    --                     sequence.  This keyword causes error messages to be
2010    --                     generated as soon as they are detected. The use of
2011    --                     IMMEDIATE usually causes error messages to be
2012    --                     generated out of sequence. Use it when the compiler
2013    --                     blows up due to an internal error.  In this case, the
2014    --                     error messages may be lost. Sometimes blowups are
2015    --                     the result of mishandled error messages, so you may
2016    --                     want to run with this keyword to determine whether
2017    --                     any error messages were generated.
2018    --
2019    --      DEFAULT        Turn off VERBOSE and BRIEF. Same as /NOREPORT_ERRORS.
2020
2021    S_GCC_ReportX : aliased constant S := "/NOREPORT_ERRORS "               &
2022                                             "!-gnatb,!-gnatv";
2023    --  NODOC (see /REPORT_ERRORS)
2024
2025    S_GCC_Repinfo : aliased constant S := "/REPRESENTATION_INFO="           &
2026                                             "DEFAULT "                     &
2027                                                "-gnatR "                   &
2028                                             "NONE "                        &
2029                                                "-gnatR0 "                  &
2030                                             "ARRAYS "                      &
2031                                                "-gnatR1 "                  &
2032                                             "ARRAYS_FILE "                 &
2033                                                "-gnatR1s "                 &
2034                                             "OBJECTS "                     &
2035                                                "-gnatR2 "                  &
2036                                             "OBJECTS_FILE "                &
2037                                                "-gnatR2s "                 &
2038                                             "SYMBOLIC "                    &
2039                                                "-gnatR3 "                  &
2040                                             "SYMBOLIC_FILE "               &
2041                                                "-gnatR3s";
2042    --        /NOREPRESENTATION_INFO (D)
2043    --        /REPRESENTATION_INFO[=(keyword[,...])]
2044    --
2045    --   This qualifier controls output from the compiler of a listing showing
2046    --   representation information for declared types and objects.
2047    --
2048    --        ARRAYS (D)      Size and alignment information is listed for
2049    --                        declared array and record types.
2050    --
2051    --        ARRAYS_FILE     Similar to ARRAYS, but the output is to a file
2052    --                        with the name 'file_rep' where 'file' is the name
2053    --                        of the corresponding source file.
2054    --
2055    --        NONE            no information is output (equivalent to omitting
2056    --                        the /REPRESENTATION_INFO qualifiers).
2057    --
2058    --        OBJECTS         Size and alignment information is listed for all
2059    --                        declared types and objects.
2060    --
2061    --        OBJECTS_FILE    Similar to OBJECTS, but the output is to a file
2062    --                        with the name 'file_rep' where 'file' is the name
2063    --                        of the corresponding source file.
2064    --
2065    --        SYMBOLIC        Symbolic expression information for values that
2066    --                        are computed at run time for variant records.
2067    --
2068    --        SYMBOLIC_FILE   Similar to SYMBOLIC, but the output is to a file
2069    --                        with the name 'file_rep' where 'file' is the name
2070    --                        of the corresponding source file.
2071    --
2072    --        DEFAULT         Equivalent to ARRAYS.
2073
2074    S_GCC_RepinfX : aliased constant S := "/NOREPRESENTATION_INFO "         &
2075                                             "!-gnatR";
2076    --  NODOC (see /REPRESENTATION_INFO)
2077
2078    S_GCC_RTS     : aliased constant S := "/RUNTIME_SYSTEM=|"               &
2079                                             "--RTS=|";
2080    --        /RUNTIME_SYSTEM=xxx
2081    --
2082    --    Build against an alternate runtime system named xxx or RTS-xxx.
2083
2084    S_GCC_Search  : aliased constant S := "/SEARCH=*"                       &
2085                                             "-I*";
2086    --        /SEARCH=(directory[,...])
2087    --
2088    --    When looking for source files also look in directories specified.
2089
2090    S_GCC_Style   : aliased constant S := "/STYLE_CHECKS="                  &
2091                                             "ALL_BUILTIN "                 &
2092                                                "-gnatyy "                  &
2093                                             "0 "                           &
2094                                                "-gnaty0 "                  &
2095                                             "1 "                           &
2096                                                "-gnaty1 "                  &
2097                                             "2 "                           &
2098                                                "-gnaty2 "                  &
2099                                             "3 "                           &
2100                                                "-gnaty3 "                  &
2101                                             "4 "                           &
2102                                                "-gnaty4 "                  &
2103                                             "5 "                           &
2104                                                "-gnaty5 "                  &
2105                                             "6 "                           &
2106                                                "-gnaty6 "                  &
2107                                             "7 "                           &
2108                                                "-gnaty7 "                  &
2109                                             "8 "                           &
2110                                                "-gnaty8 "                  &
2111                                             "9 "                           &
2112                                                "-gnaty9 "                  &
2113                                             "ATTRIBUTE "                   &
2114                                                "-gnatya "                  &
2115                                             "NOATTRIBUTE "                 &
2116                                                "-gnaty-a "                 &
2117                                             "ARRAY_INDEXES "               &
2118                                                "-gnatyA "                  &
2119                                             "NOARRAY_INDEXES "             &
2120                                                "-gnaty-A "                 &
2121                                             "BLANKS "                      &
2122                                                "-gnatyb "                  &
2123                                             "NOBLANKS "                    &
2124                                                "-gnaty-b "                 &
2125                                             "COMMENTS "                    &
2126                                                "-gnatyc "                  &
2127                                             "NOCOMMENTS "                  &
2128                                                "-gnaty-c "                 &
2129                                             "DOS_LINE_ENDINGS "            &
2130                                                "-gnatyd "                  &
2131                                             "NODOS_LINE_ENDINGS "          &
2132                                                "-gnaty-d "                 &
2133                                             "END "                         &
2134                                                "-gnatye "                  &
2135                                             "NOEND "                       &
2136                                                "-gnaty-e "                 &
2137                                             "VTABS "                       &
2138                                                "-gnatyf "                  &
2139                                             "NOVTABS "                     &
2140                                                "-gnaty-f "                 &
2141                                             "GNAT "                        &
2142                                                "-gnatyg "                  &
2143                                             "HTABS "                       &
2144                                                "-gnatyh "                  &
2145                                             "NOHTABS "                     &
2146                                                "-gnaty-h "                 &
2147                                             "IF_THEN "                     &
2148                                                "-gnatyi "                  &
2149                                             "NOIF_THEN "                   &
2150                                                "-gnaty-i "                 &
2151                                             "KEYWORD "                     &
2152                                                "-gnatyk "                  &
2153                                             "NOKEYWORD "                   &
2154                                                "-gnaty-k "                 &
2155                                             "LAYOUT "                      &
2156                                                "-gnatyl "                  &
2157                                             "NOLAYOUT "                    &
2158                                                "-gnaty-l "                 &
2159                                             "LINE_LENGTH "                 &
2160                                                "-gnatym "                  &
2161                                             "NOLINE_LENGTH "               &
2162                                                "-gnaty-m "                 &
2163                                             "MODE_IN "                     &
2164                                                "-gnatyI "                  &
2165                                             "NOMODE_IN "                   &
2166                                                "-gnaty-I "                 &
2167                                             "NONE "                        &
2168                                                "-gnatyN "                  &
2169                                             "STANDARD_CASING "             &
2170                                                "-gnatyn "                  &
2171                                             "NOSTANDARD_CASING "           &
2172                                                "-gnaty-n "                 &
2173                                             "ORDERED_SUBPROGRAMS "         &
2174                                                "-gnatyo "                  &
2175                                             "NOORDERED_SUBPROGRAMS "       &
2176                                                "-gnaty-o "                 &
2177                                             "PRAGMA "                      &
2178                                                "-gnatyp "                  &
2179                                             "NOPRAGMA "                    &
2180                                                "-gnaty-p "                 &
2181                                             "REFERENCES "                  &
2182                                                "-gnatyr "                  &
2183                                             "NOREFERENCES "                &
2184                                                "-gnaty-r "                 &
2185                                             "SPECS "                       &
2186                                                "-gnatys "                  &
2187                                             "NOSPECS "                     &
2188                                                "-gnaty-s "                 &
2189                                             "STATEMENTS_AFTER_THEN_ELSE "  &
2190                                                "-gnatyS "                  &
2191                                             "NOSTATEMENTS_AFTER_THEN_ELSE " &
2192                                                "-gnaty-S "                 &
2193                                             "TOKEN "                       &
2194                                                "-gnatyt "                  &
2195                                             "NOTOKEN "                     &
2196                                                "-gnaty-t "                 &
2197                                             "UNNECESSARY_BLANK_LINES "     &
2198                                                "-gnatyu "                  &
2199                                             "NOUNNECESSARY_BLANK_LINES "   &
2200                                                "-gnaty-u "                 &
2201                                             "XTRA_PARENS "                 &
2202                                                "-gnaty-x "                 &
2203                                             "NOXTRA_PARENS "               &
2204                                                "-gnaty-x ";
2205    --        /NOSTYLE_CHECKS (D)
2206    --        /STYLE_CHECKS[=(keyword,[...])]
2207    --
2208    --   Normally, GNAT permits any code layout consistent with the reference
2209    --   manual requirements.  This qualifier imposes style checking on the
2210    --   input source code.  The following keywords are supported:
2211    --
2212    --      ALL_BUILTIN (D)      Equivalent to the following list of options:
2213    --                           3, ATTRIBUTE, BLANKS, COMMENTS, END, VTABS,
2214    --                           HTABS, IF_THEN, KEYWORD, LAYOUT, LINE_LENGTH,
2215    --                           PRAGMA, REFERENCES, SPECS, TOKEN.
2216    --
2217    --      1 .. 9               Specify indentation level from 1 to 9.
2218    --                           The general style of required indentation is as
2219    --                           specified by the examples in the Ada Reference
2220    --                           Manual. Full line comments must be aligned with
2221    --                           the -- starting on a column that is a multiple
2222    --                           of the alignment level.
2223    --
2224    --      ATTRIBUTE            Check attribute casing.
2225    --                           Attribute names, including the case of keywords
2226    --                           such as digits used as attributes names,
2227    --                           must be written in mixed case, that is,
2228    --                           the initial letter and any letter following an
2229    --                           underscore must be uppercase.
2230    --                           All other letters must be lowercase.
2231    --
2232    --      ARRAY_INDEXES        Check indexes of array attributes.
2233    --                           For array attributes First, Last, Range,
2234    --                           or Length, the index number must be omitted
2235    --                           for one-dimensional arrays and is required
2236    --                           for multi-dimensional arrays.
2237    --
2238    --      BLANKS               Blanks not allowed at statement end.
2239    --                           Trailing blanks are not allowed at the end of
2240    --                           statements. The purpose of this rule, together
2241    --                           with option HTABS (no horizontal tabs), is to
2242    --                           enforce a canonical format for the use of
2243    --                           blanks to separate source tokens.
2244    --
2245    --      COMMENTS             Check comments.
2246    --                           Comments must meet the following set of rules:
2247    --
2248    --                             * The "--" that starts the column must either
2249    --                               start in column one, or else at least one
2250    --                               blank must precede this sequence.
2251    --
2252    --                             * Comments that follow other tokens on a line
2253    --                               must have at least one blank following the
2254    --                               "--" at the start of the comment.
2255    --
2256    --                             * Full line comments must have two blanks
2257    --                               following the "--" that starts the comment,
2258    --                               with the following exceptions.
2259    --
2260    --                             * A line consisting only of the "--"
2261    --                               characters, possibly preceded by blanks is
2262    --                               permitted.
2263    --
2264    --                             * A comment starting with "--x" where x is
2265    --                               a special character is permitted. This
2266    --                               allows proper processing of the output
2267    --                               generated by specialized tools including
2268    --                               gnatprep (where --! is used) and the SPARK
2269    --                               annotation language (where --# is used).
2270    --                               For the purposes of this rule, a special
2271    --                               character is defined as being in one of the
2272    --                               ASCII ranges 16#21#..16#2F# or
2273    --                               16#3A#..16#3F#.
2274    --
2275    --                             * A line consisting entirely of minus signs,
2276    --                               possibly preceded by blanks, is permitted.
2277    --                               This allows the construction of box
2278    --                               comments where lines of minus signs are
2279    --                               used to form the top and bottom of the box.
2280    --
2281    --                             * If a comment starts and ends with "--" is
2282    --                               permitted as long as at least one blank
2283    --                               follows the initial "--". Together with
2284    --                               the preceding rule, this allows the
2285    --                               construction of box comments, as shown in
2286    --                               the following example:
2287    --
2288    --                               ---------------------------
2289    --                               -- This is a box comment --
2290    --                               ---------------------------
2291    --
2292    --      DOS_LINE_ENDINGS     Check that no DOS line terminators are present
2293    --                           All lines must be terminated by a single
2294    --                           ASCII.LF character. In particular the DOS line
2295    --                           terminator sequence CR / LF is not allowed).
2296    --
2297    --      END                  Check end/exit labels.
2298    --                           Optional labels on end statements ending
2299    --                           subprograms and on exit statements exiting
2300    --                           named loops, are required to be present.
2301    --
2302    --      GNAT                 Enforces a set of style conventions that
2303    --                           match the style used in the GNAT source code.
2304    --                           This maybe useful when developing code that
2305    --                           is eventually intended to be incorporated into
2306    --                           GNAT. For further details, see GNAT sources.
2307    --
2308    --      HTABS                No horizontal tabs.
2309    --                           Horizontal tab characters are not permitted in
2310    --                           the source text. Together with the BLANKS
2311    --                           (no blanks at end of line) option, this
2312    --                           enforces a canonical form for the use of blanks
2313    --                           to separate source tokens.
2314    --
2315    --      IF_THEN              Check if-then layout.
2316    --                           The keyword then must appear either on the
2317    --                           same line as the corresponding if, or on a line
2318    --                           on its own, lined up under the if with at least
2319    --                           one non-blank line in between containing all or
2320    --                           part of the condition to be tested.
2321    --
2322    --      KEYWORD              Check keyword casing.
2323    --                           All keywords must be in lower case (with the
2324    --                           exception of keywords such as digits used as
2325    --                           attribute names to which this check does not
2326    --                           apply).
2327    --
2328    --      LAYOUT               Check layout.
2329    --                           Layout of statement and declaration constructs
2330    --                           must follow the recommendations in the Ada
2331    --                           Reference Manual, as indicated by the form of
2332    --                           the syntax rules. For example an else keyword
2333    --                           must be lined up with the corresponding if
2334    --                           keyword.
2335    --
2336    --                           There are two respects in which the style rule
2337    --                           enforced by this check option are more liberal
2338    --                           than those in the Ada Reference Manual.
2339    --                           First in the case of record declarations,
2340    --                           it is permissible to put the record keyword on
2341    --                           the same line as the type keyword, and then
2342    --                           the end in end record must line up under type.
2343    --                           For example, either of the following two
2344    --                           layouts is acceptable:
2345    --
2346    --                           type q is record
2347    --                              a : integer;
2348    --                              b : integer;
2349    --                           end record;
2350    --
2351    --                           type q is
2352    --                              record
2353    --                                 a : integer;
2354    --                                 b : integer;
2355    --                              end record;
2356    --
2357    --                           Second, in the case of a block statement,
2358    --                           a permitted alternative is to put the block
2359    --                           label on the same line as the declare or begin
2360    --                           keyword, and then line the end keyword up under
2361    --                           the block label. For example both the following
2362    --                           are permitted:
2363    --
2364    --
2365    --
2366    --                           Block : declare
2367    --                              A : Integer := 3;
2368    --                           begin
2369    --                              Proc (A, A);
2370    --                           end Block;
2371    --
2372    --                           Block :
2373    --                              declare
2374    --                                 A : Integer := 3;
2375    --                              begin
2376    --                                 Proc (A, A);
2377    --                              end Block;
2378    --
2379    --                           The same alternative format is allowed for
2380    --                           loops. For example, both of the following are
2381    --                           permitted:
2382    --
2383    --
2384    --
2385    --                           Clear : while J < 10 loop
2386    --                              A (J) := 0;
2387    --                           end loop Clear;
2388    --
2389    --                           Clear :
2390    --                              while J < 10 loop
2391    --                                 A (J) := 0;
2392    --                              end loop Clear;
2393    --
2394    --
2395    --
2396    --      LINE_LENGTH          Check maximum line length.
2397    --                           The length of source lines must not exceed 79
2398    --                           characters, including any trailing blanks
2399    --                           The value of 79 allows convenient display on
2400    --                           an 80 character wide device or window, allowing
2401    --                           for possible special treatment of 80 character
2402    --                           lines.
2403    --
2404    --      NONE                 Clear any previously set style checks.
2405    --
2406    --      ORDERED_SUBPROGRAMS  Check order of subprogram bodies.
2407    --                           All subprogram bodies in a given scope (e.g.
2408    --                           a package body) must be in alphabetical order.
2409    --                           The ordering rule uses normal Ada rules for
2410    --                           comparing strings, ignoring casing of letters,
2411    --                           except that if there is a trailing numeric
2412    --                           suffix, then the value of this suffix is used
2413    --                           in the ordering (e.g. Junk2 comes before
2414    --                           Junk10).
2415    --
2416    --      PRAGMA               Check pragma casing.
2417    --                           Pragma names must be written in mixed case,
2418    --                           that is, the initial letter and any letter
2419    --                           following an underscore must be uppercase.
2420    --                           All other letters must be lowercase.
2421    --
2422    --      REFERENCES           Check references.
2423    --                           All identifier references must be cased in the
2424    --                           same way as the corresponding declaration.
2425    --                           No specific casing style is imposed on
2426    --                           identifiers. The only requirement is for
2427    --                           consistency of references with declarations.
2428    --
2429    --      SPECS                Check separate specs.
2430    --                           Separate declarations ("specs") are required
2431    --                           for subprograms (a body is not allowed to serve
2432    --                           as its own declaration). The only exception is
2433    --                           that parameterless library level procedures are
2434    --                           not required to have a separate declaration.
2435    --                           This exception covers the most frequent form of
2436    --                           main program procedures.
2437    --
2438    --      STANDARD_CASING      Check casing of entities in Standard.
2439    --                           Any identifier from Standard must be cased to
2440    --                           match the presentation in the Ada Reference
2441    --                           Manual (for example, Integer and ASCII.NUL).
2442    --
2443    --      TOKEN                Check token spacing.
2444    --                           The following token spacing rules are enforced:
2445    --
2446    --                             * The keywords abs and not must be followed
2447    --                               by a space.
2448    --
2449    --                             * The token => must be surrounded by spaces.
2450    --
2451    --                             * The token <> must be preceded by a space or
2452    --                               a left parenthesis.
2453    --
2454    --                             * Binary operators other than ** must be
2455    --                               surrounded by spaces. There is no
2456    --                               restriction on the layout of the ** binary
2457    --                               operator.
2458    --
2459    --                             * Colon must be surrounded by spaces.
2460    --
2461    --                             * Colon-equal (assignment) must be surrounded
2462    --                               by spaces.
2463    --
2464    --                             * Comma must be the first non-blank character
2465    --                               on the line, or be immediately preceded by
2466    --                               a non-blank character, and must be followed
2467    --                               by a space.
2468    --
2469    --                             * If the token preceding a left paren ends
2470    --                               with a letter or digit, then a space must
2471    --                               separate the two tokens.
2472    --
2473    --                             * A right parenthesis must either be the
2474    --                               first non-blank character on a line, or it
2475    --                               must be preceded by a non-blank character.
2476    --
2477    --                             * A semicolon must not be preceded by
2478    --                               a space, and must not be followed by
2479    --                               a non-blank character.
2480    --
2481    --                             * A unary plus or minus may not be followed
2482    --                               by a space.
2483    --
2484    --                             * A vertical bar must be surrounded by
2485    --                               spaces.
2486    --
2487    --                           In the above rules, appearing in column one is
2488    --                           always permitted, that is, counts as meeting
2489    --                           either a requirement for a required preceding
2490    --                           space, or as meeting a requirement for no
2491    --                           preceding space.
2492    --
2493    --                           Appearing at the end of a line is also always
2494    --                           permitted, that is, counts as meeting either
2495    --                           a requirement for a following space,
2496    --                           or as meeting a requirement for no following
2497    --                           space.
2498    --
2499    --      UNNECESSARY_BLANK_LINES
2500    --                           Check for unnecessary blank lines.
2501    --                           A blank line is considered unnecessary if it
2502    --                           appears at the end of the file, or if more
2503    --                           than one blank line occurs in sequence.
2504    --
2505    --      VTABS                No form feeds or vertical tabs.
2506    --                           Form feeds or vertical tab characters are not
2507    --                           permitted in the source text.
2508    --
2509    --      XTRA_PARENS          Check for the use of an unnecessary extra
2510    --                           level of parentheses (C - style) around
2511    --                           conditions in if statements, while statements
2512    --                           and exit statements.
2513
2514    S_GCC_StyleX  : aliased constant S := "/NOSTYLE_CHECKS "                &
2515                                             "!-gnatg,!-gnaty*";
2516    --  NODOC (see /STYLE_CHECKS)
2517
2518    S_GCC_Subdirs : aliased constant S := "/SUBDIRS=<"                      &
2519                                             "--subdirs=>";
2520    --        /SUBDIRS=dir
2521    --
2522    --   The actual directories (object, exec, library, ...) are subdirectories
2523    --   of the directory specified in the project file. If the subdirectory
2524    --   does not exist, it is created automatically.
2525
2526    S_GCC_Symbol  : aliased constant S := "/SYMBOL_PREPROCESSING=" & '"'    &
2527                                             "-gnateD" & '"';
2528    --        /SYMBOL_PREPROCESSING="symbol=value"
2529    --
2530    --   Define or redefine a preprocessing symbol, associated with value.
2531    --   If "=value" is not specified, then the value of the symbol is True.
2532    --   A symbol is an identifier, following normal Ada (case-insensitive)
2533    --   rules for its syntax, and value is any sequence (including an empty
2534    --   sequence) of characters from the set (letters, digits, period,
2535    --   underline). Ada reserved words may be used as symbols, with the
2536    --   exceptions of "if", "else", "elsif", "end", "and", "or" and "then".
2537    --
2538    --   A symbol declared with this qualifier on the command line replaces
2539    --   a symbol with the same name either in a definition file or specified
2540    --   with a switch -D in the preprocessor data file.
2541    --
2542    --   This qualifier is similar to qualifier /ASSOCIATE of
2543    --   GNAT PREPROCESSING.
2544
2545    S_GCC_Syntax  : aliased constant S := "/SYNTAX_ONLY "                   &
2546                                             "-gnats";
2547    --        /NOSYNTAX_ONLY (D)
2548    --        /SYNTAX_ONLY
2549    --
2550    --   Run GNAT in syntax checking only mode.  You can check a series of
2551    --   files in a single command, and can use wild cards to specify such a
2552    --   group of files.
2553    --
2554    --   You may use other qualifiers in conjunction with this qualifier. In
2555    --   particular, /LIST and /REPORT_ERRORS=VERBOSE are useful to control the
2556    --   format of any generated error messages.
2557    --
2558    --   The output is simply the error messages, if any. No object file or ALI
2559    --   file is generated by a syntax-only compilation. Also, no units other
2560    --   than the one specified are accessed. For example, if a unit "X" with's
2561    --   a unit "Y", compiling unit "X" in syntax check only mode does not
2562    --   access the source file containing unit "Y".
2563    --
2564    --   Normally, GNAT allows only a single unit in a source file. However,
2565    --   this restriction does not apply in syntax-check-only mode, and it is
2566    --   possible to check a file containing multiple compilation units
2567    --   concatenated together. This is primarily used by the GNAT CHOP
2568    --   command.
2569
2570    S_GCC_Table   : aliased constant S := "/TABLE_MULTIPLIER=#"             &
2571                                             "-gnatT#";
2572    --        /TABLE_MULTIPLIER=nnn
2573    --
2574    --   All compiler tables start at nnn times usual starting size.
2575
2576    S_GCC_Trace   : aliased constant S := "/TRACE_UNITS "                   &
2577                                             "-gnatdc";
2578    --        /TRACE_UNITS
2579    --        /NOTRACE_UNITS
2580    --
2581    --   This switch that does for the frontend what /VERBOSE does for the
2582    --   backend. The system prints the name of each unit, either a compilation
2583    --   unit or nested unit, as it is being analyzed.
2584
2585    S_GCC_Tree    : aliased constant S := "/TREE_OUTPUT "                   &
2586                                             "-gnatt";
2587    --        /TREE_OUTPUT
2588    --        /NOTREE_OUTPUT
2589    --
2590    --   Cause GNAT to write the internal tree for a unit to a file (with the
2591    --   filetype ATB for a body or ATS for a spec).  This is not normally
2592    --   required, but is used by separate analysis tools. Typically these
2593    --   tools do the necessary compilations automatically, so you should never
2594    --   have to specify this switch in normal operation.
2595
2596    S_GCC_Trys    : aliased constant S := "/TRY_SEMANTICS "                 &
2597                                             "-gnatq";
2598    --        /TRY_SEMANTICS
2599    --        /NOTRY_SEMANTICS
2600    --
2601    --   In normal operation mode the compiler first parses the program and
2602    --   determines if there are any syntax errors. If there are, appropriate
2603    --   error messages are generated and compilation is immediately
2604    --   terminated.  This qualifier tells GNAT to continue with semantic
2605    --   analysis even if syntax errors have been found.  This may enable the
2606    --   detection of more errors in a single run. On the other hand, the
2607    --   semantic analyzer is more likely to encounter some internal fatal
2608    --   error when given a syntactically invalid tree.
2609
2610    S_GCC_Units   : aliased constant S := "/UNITS_LIST "                    &
2611                                             "-gnatu";
2612    --        /NOUNITS_LIST (D)
2613    --        /UNITS_LIST
2614    --
2615    --   Print a list of units required by this compilation on SYS$OUTPUT.  The
2616    --   listing includes all units on which the unit being compiled depends
2617    --   either directly or indirectly.
2618
2619    S_GCC_Unique  : aliased constant S := "/UNIQUE_ERROR_TAG "              &
2620                                             "-gnatU";
2621    --        /NOUNIQUE_ERROR_TAG (D)
2622    --        /UNIQUE_ERROR_TAG
2623    --
2624    --   Tag compiler error messages with the string "error: ".
2625
2626    S_GCC_Upcase  : aliased constant S := "/UPPERCASE_EXTERNALS "           &
2627                                             "-gnatF";
2628    --        /NOUPPERCASE_EXTERNALS (D)
2629    --        /UPPERCASE_EXTERNALS
2630    --
2631    --   Fold default and explicit external names in pragmas Import and Export
2632    --   to uppercase for compatibility with the default behavior of DEC C.
2633
2634    S_GCC_Valid   : aliased constant S := "/VALIDITY_CHECKING="             &
2635                                             "DEFAULT "                     &
2636                                                "-gnatVd "                  &
2637                                             "NODEFAULT "                   &
2638                                                "-gnatVD "                  &
2639                                             "COPIES "                      &
2640                                                "-gnatVc "                  &
2641                                             "NOCOPIES "                    &
2642                                                "-gnatVC "                  &
2643                                             "COMPONENTS "                  &
2644                                                "-gnatVe "                  &
2645                                             "NOCOMPONENTS "                &
2646                                                "-gnatVE "                  &
2647                                             "FLOATS "                      &
2648                                                "-gnatVf "                  &
2649                                             "NOFLOATS "                    &
2650                                                "-gnatVF "                  &
2651                                             "IN_PARAMS "                   &
2652                                                "-gnatVi "                  &
2653                                             "NOIN_PARAMS "                 &
2654                                                "-gnatVI "                  &
2655                                             "MOD_PARAMS "                  &
2656                                                "-gnatVm "                  &
2657                                             "NOMOD_PARAMS "                &
2658                                                "-gnatVM "                  &
2659                                             "OPERANDS "                    &
2660                                                "-gnatVo "                  &
2661                                             "NOOPERANDS "                  &
2662                                                "-gnatVO "                  &
2663                                             "PARAMETERS "                  &
2664                                                "-gnatVp "                  &
2665                                             "NOPARAMETERS "                &
2666                                                "-gnatVP "                  &
2667                                             "RETURNS "                     &
2668                                                "-gnatVr "                  &
2669                                             "NORETURNS "                   &
2670                                                "-gnatVR "                  &
2671                                             "SUBSCRIPTS "                  &
2672                                                "-gnatVs "                  &
2673                                             "NOSUBSCRIPTS "                &
2674                                                "-gnatVS "                  &
2675                                             "TESTS "                       &
2676                                                "-gnatVt "                  &
2677                                             "NOTESTS "                     &
2678                                                "-gnatVT "                  &
2679                                             "ALL "                         &
2680                                                "-gnatVa "                  &
2681                                             "NONE "                        &
2682                                                "-gnatVn";
2683    --        /VALIDITY_CHECKING[=(keyword,[...])]
2684    --
2685    --   Control level of validity checking.
2686    --
2687    --        DEFAULT (D)     In this mode checks are made to prevent
2688    --                        erroneous behavior in accordance with the RM.
2689    --                        Notably extra checks may be needed for case
2690    --                        statements and subscripted array assignments.
2691    --
2692    --        NONE            No special checks for invalid values are
2693    --                        performed. This means that references to
2694    --                        uninitialized variables can cause erroneous
2695    --                        behavior from constructs like case statements
2696    --                        and subscripted array assignments. In this
2697    --                        mode, invalid values can lead to erroneous
2698    --                        behavior.
2699    --
2700    --        FULL            Every assignment is checked for validity, so
2701    --                        that it is impossible to assign invalid values.
2702    --                        The RM specifically allows such assignments,
2703    --                        but in this mode, invalid values can never be
2704    --                        assigned, and an attempt to perform such an
2705    --                        assignment immediately raises Constraint_Error.
2706    --                        This behavior is allowed (but not required) by
2707    --                        the RM. This mode is intended as a debugging aid,
2708    --                        and may be useful in helping to track down
2709    --                        uninitialized variables. It may be useful to
2710    --                        use this in conjunction with the Normalize_Scalars
2711    --                        pragma which attempts to initialize with invalid
2712    --                        values where possible.
2713
2714    S_GCC_Verbose : aliased constant S := "/VERBOSE "                       &
2715                                             "-v";
2716    --        /VERBOSE
2717    --        /NOVERBOSE
2718    --
2719    --   Show commands generated by the GCC driver. Normally used only for
2720    --   debugging purposes or if you need to be sure what version of the
2721    --   compiler you are executing.
2722
2723    S_GCC_Verb_Asm : aliased constant S := "/VERBOSE_ASM " &
2724                                           "-S,-verbose_asm,!-c";
2725    --        /NOASM (D)
2726    --        /ASM
2727    --
2728    --   Use to cause the assembler source file to be generated, using S as the
2729    --   filetype, instead of the object file. This may be useful if you need
2730    --   to examine the generated assembly code.
2731
2732    S_GCC_Warn    : aliased constant S := "/WARNINGS="                      &
2733                                             "DEFAULT "                     &
2734                                                "!-gnatws,!-gnatwe "        &
2735                                             "ALL "                         &
2736                                                "-gnatwa "                  &
2737                                             "EVERY "                       &
2738                                                "-gnatw.e "                 &
2739                                             "OPTIONAL "                    &
2740                                                "-gnatwa "                  &
2741                                             "NOOPTIONAL "                  &
2742                                                "-gnatwA "                  &
2743                                             "NOALL "                       &
2744                                                "-gnatwA "                  &
2745                                             "ALL_GCC "                     &
2746                                                "-Wall "                    &
2747                                             "FAILING_ASSERTIONS "          &
2748                                                "-gnatw.a "                 &
2749                                             "NO_FAILING_ASSERTIONS "       &
2750                                                "-gnatw.A "                 &
2751                                             "BAD_FIXED_VALUES "            &
2752                                                "-gnatwb "                  &
2753                                             "NO_BAD_FIXED_VALUES "         &
2754                                                "-gnatwB "                  &
2755                                             "CONDITIONALS "                &
2756                                                "-gnatwc "                  &
2757                                             "NOCONDITIONALS "              &
2758                                                "-gnatwC "                  &
2759                                             "MISSING_COMPONENT_CLAUSES "   &
2760                                                "-gnatw.c "                 &
2761                                             "NOMISSING_COMPONENT_CLAUSES " &
2762                                                "-gnatw.C "                 &
2763                                             "IMPLICIT_DEREFERENCE "        &
2764                                                "-gnatwd "                  &
2765                                             "NO_IMPLICIT_DEREFERENCE "     &
2766                                                "-gnatwD "                  &
2767                                             "ERRORS "                      &
2768                                                "-gnatwe "                  &
2769                                             "UNREFERENCED_FORMALS "        &
2770                                                "-gnatwf "                  &
2771                                             "NOUNREFERENCED_FORMALS "      &
2772                                                "-gnatwF "                  &
2773                                             "UNRECOGNIZED_PRAGMAS "        &
2774                                                "-gnatwg "                  &
2775                                             "NOUNRECOGNIZED_PRAGMAS "      &
2776                                                "-gnatwG "                  &
2777                                             "HIDING "                      &
2778                                                "-gnatwh "                  &
2779                                             "NOHIDING "                    &
2780                                                "-gnatwH "                  &
2781                                             "IMPLEMENTATION "              &
2782                                                "-gnatwi "                  &
2783                                             "NOIMPLEMENTATION "            &
2784                                                "-gnatwI "                  &
2785                                             "OBSOLESCENT "                 &
2786                                                "-gnatwj "                  &
2787                                             "NOOBSOLESCENT "               &
2788                                                "-gnatwJ "                  &
2789                                             "CONSTANT_VARIABLES "          &
2790                                                "-gnatwk "                  &
2791                                             "NOCONSTANT_VARIABLES "        &
2792                                                "-gnatwK "                  &
2793                                             "ELABORATION "                 &
2794                                                "-gnatwl "                  &
2795                                             "NOELABORATION "               &
2796                                                "-gnatwL "                  &
2797                                             "MODIFIED_UNREF "              &
2798                                                "-gnatwm "                  &
2799                                             "NOMODIFIED_UNREF "            &
2800                                                "-gnatwM "                  &
2801                                             "NORMAL "                      &
2802                                                "-gnatwn "                  &
2803                                             "OVERLAYS "                    &
2804                                                "-gnatwo "                  &
2805                                             "NOOVERLAYS "                  &
2806                                                "-gnatwO "                  &
2807                                             "OUT_PARAM_UNREF "             &
2808                                                "-gnatw.o "                 &
2809                                             "NOOUT_PARAM_UNREF "           &
2810                                                "-gnatw.O "                 &
2811                                             "INEFFECTIVE_INLINE "          &
2812                                                "-gnatwp "                  &
2813                                             "NOINEFFECTIVE_INLINE "        &
2814                                                "-gnatwP "                  &
2815                                             "MISSING_PARENS "              &
2816                                                "-gnatwq "                  &
2817                                             "PARAMETER_ORDER "             &
2818                                                "-gnatw.p "                 &
2819                                             "NOPARAMETER_ORDER "           &
2820                                                "-gnatw.P "                 &
2821                                             "NOMISSING_PARENS "            &
2822                                                "-gnatwQ "                  &
2823                                             "REDUNDANT "                   &
2824                                                "-gnatwr "                  &
2825                                             "NOREDUNDANT "                 &
2826                                                "-gnatwR "                  &
2827                                             "OBJECT_RENAMES "              &
2828                                                "-gnatw.r "                 &
2829                                             "NOOBJECT_RENAMES "            &
2830                                                "-gnatw.R "                 &
2831                                             "SUPPRESS "                    &
2832                                                "-gnatws "                  &
2833                                             "DELETED_CODE "                &
2834                                                "-gnatwt "                  &
2835                                             "NODELETED_CODE "              &
2836                                                "-gnatwT "                  &
2837                                             "UNINITIALIZED "               &
2838                                                "-Wuninitialized "          &
2839                                             "UNUSED "                      &
2840                                                "-gnatwu "                  &
2841                                             "NOUNUSED "                    &
2842                                                "-gnatwU "                  &
2843                                             "VARIABLES_UNINITIALIZED "     &
2844                                                "-gnatwv "                  &
2845                                             "NOVARIABLES_UNINITIALIZED "   &
2846                                                "-gnatwV "                  &
2847                                             "LOWBOUND_ASSUMED "            &
2848                                                "-gnatww "                  &
2849                                             "NOLOWBOUND_ASSUMED "          &
2850                                                "-gnatwW "                  &
2851                                             "WARNINGS_OFF_PRAGMAS "        &
2852                                                "-gnatw.w "                 &
2853                                             "NO_WARNINGS_OFF_PRAGMAS "     &
2854                                                "-gnatw.W "                 &
2855                                             "IMPORT_EXPORT_PRAGMAS "       &
2856                                                "-gnatwx "                  &
2857                                             "NOIMPORT_EXPORT_PRAGMAS "     &
2858                                                "-gnatwX "                  &
2859                                             "LOCAL_RAISE_HANDLING "        &
2860                                                "-gnatw.x "                 &
2861                                             "NOLOCAL_RAISE_HANDLING "      &
2862                                                "-gnatw.X "                 &
2863                                             "ADA_2005_COMPATIBILITY "      &
2864                                                "-gnatwy "                  &
2865                                             "NOADA_2005_COMPATIBILITY "    &
2866                                                "-gnatwY "                  &
2867                                             "UNCHECKED_CONVERSIONS "       &
2868                                                "-gnatwz "                  &
2869                                             "NOUNCHECKED_CONVERSIONS "     &
2870                                                "-gnatwZ";
2871    --        /NOWARNINGS
2872    --
2873    --   Suppress the output of all warning messages from the GNAT front end.
2874    --   Note that it does not suppress warnings from the gcc back end.
2875    --
2876    --        /WARNINGS[=(keyword[,...])]
2877    --
2878    --   In addition to error messages, corresponding to illegalities as
2879    --   defined in the reference manual, the compiler detects two kinds of
2880    --   warning situations.  First, the compiler considers some constructs
2881    --   suspicious and generates a warning message to alert you to a possible
2882    --   error. Second, if the compiler detects a situation that is sure to
2883    --   raise an exception at runtime, it generates a warning message.
2884    --
2885    --   You may specify the following keywords to change this behavior:
2886    --
2887    --   DEFAULT (D)             The default behavior above.
2888    --
2889    --   ALL                     Activate all optional warnings.
2890    --                           Activates most optional warning messages,
2891    --                           see remaining list in this section for
2892    --                           details on optional warning messages that
2893    --                           can be individually controlled.
2894    --                           The warnings that are not turned on by
2895    --                           this option are BIASED_ROUNDING,
2896    --                           IMPLICIT_DEREFERENCE, HIDING and
2897    --                           ELABORATION. All other optional Ada
2898    --                           warnings are turned on.
2899    --
2900    --   EVERY                   Activate every optional warning.
2901    --                           Activates all optional warnings, including
2902    --                           those listed above as exceptions for ALL.
2903    --
2904    --   NOALL                   Suppress all optional errors.
2905    --                           Suppresses all optional warning messages
2906    --                           that can be activated by option ALL.
2907    --
2908    --   ALL_GCC                 Request additional messages from the GCC
2909    --                           backend.  Most of these are not relevant
2910    --                           to Ada.
2911    --
2912    --   CONDITIONALS            Activate warnings for conditional
2913    --                           Expressions used in tests that are known
2914    --                           to be True or False at compile time. The
2915    --                           default is that such warnings are not
2916    --                           generated.
2917    --
2918    --   NOCONDITIONALS          Suppress warnings for conditional
2919    --                           expressions used in tests that are known
2920    --                           to be True or False at compile time.
2921    --
2922    --   IMPLICIT_DEREFERENCE    Activate warnings on implicit dereferencing.
2923    --                           The use of a prefix of an access type in an
2924    --                           indexed component, slice, or selected component
2925    --                           without an explicit .all will generate
2926    --                           a warning. With this warning enabled, access
2927    --                           checks occur only at points where an explicit
2928    --                           .all appears in the source code (assuming no
2929    --                           warnings are generated as a result of this
2930    --                           option). The default is that such warnings are
2931    --                           not generated. Note that /WARNINGS=ALL does not
2932    --                           affect the setting of this warning option.
2933    --
2934    --   NOIMPLICIT_DEREFERENCE  Suppress warnings on implicit dereferencing.
2935    --                           in indexed components, slices, and selected
2936    --                           components.
2937    --
2938    --   ELABORATION             Activate warnings on missing pragma
2939    --                           Elaborate_All statements. The default is
2940    --                           that such warnings are not generated.
2941    --
2942    --   NOELABORATION           Suppress warnings on missing pragma
2943    --                           Elaborate_All statements.
2944    --
2945    --   ERRORS                  Warning messages are to be treated as errors.
2946    --                           The warning string still appears, but the
2947    --                           warning messages are counted as errors, and
2948    --                           prevent the generation of an object file.
2949    --
2950    --   HIDING                  Activate warnings on hiding declarations.
2951    --                           A declaration is considered hiding if it is
2952    --                           for a non-overloadable entity, and it declares
2953    --                           an entity with the same name as some other
2954    --                           entity that is directly or use-visible. The
2955    --                           default is that such warnings are not
2956    --                           generated.
2957    --
2958    --   NOHIDING                Suppress warnings on hiding declarations.
2959    --
2960    --   IMPLEMENTATION          Activate warnings for a with of an internal
2961    --                           GNAT implementation unit, defined as any unit
2962    --                           from the Ada, Interfaces, GNAT, DEC or
2963    --                           System hierarchies that is not documented in
2964    --                           either the Ada Reference Manual or the GNAT
2965    --                           Programmer's Reference Manual. Such units are
2966    --                           intended only for internal implementation
2967    --                           purposes and should not be with'ed by user
2968    --                           programs. The default is that such warnings
2969    --                           are generated.
2970    --
2971    --   NOIMPLEMENTATION        Disables warnings for a with of an internal
2972    --                           GNAT implementation unit.
2973    --
2974    --   INEFFECTIVE_INLINE      Activate warnings on ineffective pragma Inlines
2975    --                           Activates warnings for failure of front end
2976    --                           inlining (activated by /INLINE=FULL) to inline
2977    --                           a particular call. There are many reasons for
2978    --                           not being able to inline a call, including most
2979    --                           commonly that the call is too complex to
2980    --                           inline. This warning can also be turned on
2981    --                           using /INLINE=FULL.
2982    --
2983    --   NOINEFFECTIVE_INLINE    Suppress warnings on ineffective pragma Inlines
2984    --                           Suppresses warnings on ineffective pragma
2985    --                           Inlines. If the inlining mechanism cannot
2986    --                           inline a call, it will simply ignore the
2987    --                           request silently.
2988    --
2989    --   MISSING_COMPONENT_CLAUSES
2990    --                           Activate warnings for cases when there are
2991    --                           component clauses for a record type, but not
2992    --                           for every component of the record.
2993    --
2994    --   NOMISSING_COMPONENT_CLAUSES
2995    --                           Suppress warnings for cases when there are
2996    --                           missing component clauses for a record type.
2997    --
2998    --   MISSING_PARENS
2999    --                           Activate warnings for cases where parentheses
3000    --                           are not used and the result is potential
3001    --                           ambiguity from a reader's point of view.
3002    --                           For example (not a > b) when a and b are
3003    --                           modular means (not (a) > b) and very likely
3004    --                           the programmer intended (not (a > b)).
3005    --
3006    --   NOMISSING_PARENS
3007    --                           Suppress warnings for cases where parentheses
3008    --                           are not used and the result is potential
3009    --                           ambiguity from a reader's point of view.
3010    --
3011    --   MODIFIED_UNREF          Activates warnings for variables that are
3012    --                           assigned (using an initialization value or with
3013    --                           one or more assignment statements) but whose
3014    --                           value is never read. The warning is suppressed
3015    --                           for volatile variables and also for variables
3016    --                           that are renamings of other variables or for
3017    --                           which an address clause is given. This warning
3018    --                           can also be turned on using /WARNINGS/OPTIONAL.
3019    --
3020    --   NOMODIFIED_UNREF        Disables warnings for variables that are
3021    --                           assigned or initialized, but never read.
3022    --
3023    --   NORMAL                  Sets normal warning mode, in which enabled
3024    --                           warnings are issued and treated as warnings
3025    --                           rather than errors. This is the default mode.
3026    --                           It can be used to cancel the effect of an
3027    --                           explicit /WARNINGS=SUPPRESS or
3028    --                           /WARNINGS=ERRORS. It also cancels the effect
3029    --                           of the implicit /WARNINGS=ERRORS that is
3030    --                           activated by the use of /STYLE=GNAT.
3031    --
3032    --   OBSOLESCENT             Activates warnings for calls to subprograms
3033    --                           marked with pragma Obsolescent and for use of
3034    --                           features in Annex J of the Ada Reference
3035    --                           Manual. In the case of Annex J, not all
3036    --                           features are flagged. In particular use of the
3037    --                           renamed packages (like Text_IO), use of package
3038    --                           ASCII and use of the attribute 'Constrained are
3039    --                           not flagged, since these are very common and
3040    --                           would generate many annoying positive warnings.
3041    --                           The default is that such warnings are not
3042    --                           generated.
3043    --
3044    --   NOOBSOLESCENT           Disables warnings on use of obsolescent
3045    --                           features.
3046    --
3047    --   OBJECT_RENAME           Activate warnings for non limited objects
3048    --                           renaming parameterless functions.
3049    --
3050    --   NOOBJECT_RENAME         Suppress warnings for non limited objects
3051    --                           renaming parameterless functions.
3052    --
3053    --   OPTIONAL                Equivalent to ALL.
3054    --
3055    --   NOOPTIONAL              Equivalent to NOALL.
3056    --
3057    --   OVERLAYS                Activate warnings for possibly unintended
3058    --                           initialization effects of defining address
3059    --                           clauses that cause one variable to overlap
3060    --                           another. The default is that such warnings
3061    --                           are generated.
3062    --
3063    --   NOOVERLAYS              Suppress warnings on possibly unintended
3064    --                           initialization effects of defining address
3065    --                           clauses that cause one variable to overlap
3066    --                           another.
3067    --
3068    --   REDUNDANT               Activate warnings for redundant constructs.
3069    --                           In particular assignments of a variable to
3070    --                           itself, and a type conversion that converts
3071    --                           an object to its own type. The default
3072    --                           is that such warnings are not generated.
3073    --
3074    --   NOREDUNDANT             Suppress warnings for redundant constructs.
3075    --
3076    --   SUPPRESS                Completely suppress the output of all warning
3077    --                           messages.  Same as /NOWARNINGS.
3078    --
3079    --   UNCHECKED_CONVERSIONS   Activates warnings on unchecked conversions.
3080    --                           Causes warnings to be generated for
3081    --                           unchecked conversions when the two types are
3082    --                           known at compile time to have different sizes.
3083    --                           The default is that such warnings are
3084    --                           generated.
3085    --
3086    --   NOUNCHECKED_CONVERSIONS Suppress warnings for unchecked conversions.
3087    --
3088    --   UNINITIALIZED           Generate warnings for uninitialized variables.
3089    --                           This is a GCC option, not an Ada option.
3090    --                           You must also specify the /OPTIMIZE qualifier
3091    --                           with a value other than NONE (in other words,
3092    --                           this keyword works only if optimization is
3093    --                           turned on).
3094    --
3095    --   UNREFERENCED_FORMALS    Activate warnings on unreferenced formals.
3096    --                           Causes a warning to be generated if a formal
3097    --                           parameter is not referenced in the body of
3098    --                           the subprogram. This warning can also be turned
3099    --                           on using option ALL or UNUSED.
3100    --
3101    --   NOUNREFERENCED_FORMALS  Suppress warnings on unreferenced formals.
3102    --                           Suppresses warnings for unreferenced formal
3103    --                           parameters. Note that the combination UNUSED
3104    --                           followed by NOUNREFERENCED_FORMALS has the
3105    --                           effect of warning on unreferenced entities
3106    --                           other than subprogram formals.
3107    --
3108    --   UNUSED                  Activates warnings to be generated for entities
3109    --                           that are defined but not referenced, and for
3110    --                           units that are with'ed and not referenced. In
3111    --                           the case of packages, a warning is also
3112    --                           generated if no entities in the package are
3113    --                           referenced. This means that if the package
3114    --                           is referenced but the only references are in
3115    --                           use clauses or renames declarations, a warning
3116    --                           is still generated. A warning is also generated
3117    --                           for a generic package that is with'ed but never
3118    --                           instantiated.  In the case where a package or
3119    --                           subprogram body is compiled, and there is a
3120    --                           with on the corresponding spec that is only
3121    --                           referenced in the body, a warning is also
3122    --                           generated, noting that the with can be moved
3123    --                           to the body. The default is that such warnings
3124    --                           are not generated.
3125    --
3126    --   NOUNUSED                Suppress warnings for unused entities and
3127    --                           packages.
3128    --
3129    --   VARIABLES_UNINITIALIZED Activates warnings on unassigned variables.
3130    --                           Causes warnings to be generated when a variable
3131    --                           is accessed which may not be properly
3132    --                           uninitialized.
3133    --                           The default is that such warnings are
3134    --                           generated.
3135    --
3136    --   NOVARIABLES_UNINITIALIZED       Suppress warnings for uninitialized
3137    --                                   variables.
3138
3139    S_GCC_WarnX   : aliased constant S := "/NOWARNINGS "                    &
3140                                             "-gnatws";
3141    --  NODOC (see /WARNINGS)
3142
3143    S_GCC_No_Back : aliased constant S := "/NO_BACK_END_WARNINGS "          &
3144                                             "-w";
3145    --        /NO_BACK_END_WARNINGS
3146    --
3147    --   Inhibit all warning messages of the GCC back-end.
3148
3149    S_GCC_All_Back : aliased constant S := "/ALL_BACK_END_WARNINGS "        &
3150                                             "-Wall";
3151    --        /ALL_BACK_END_WARNINGS
3152    --
3153    --   Activate all warning messages of the GCC back-end.
3154
3155    S_GCC_Wide    : aliased constant S := "/WIDE_CHARACTER_ENCODING="       &
3156                                              "BRACKETS "                   &
3157                                                 "-gnatWb "                 &
3158                                              "HEX "                        &
3159                                                 "-gnatWh "                 &
3160                                              "UPPER "                      &
3161                                                 "-gnatWu "                 &
3162                                              "SHIFT_JIS "                  &
3163                                                 "-gnatWs "                 &
3164                                              "UTF8 "                       &
3165                                                 "-gnatW8 "                 &
3166                                              "EUC "                        &
3167                                                 "-gnatWe";
3168    --        /NOWIDE_CHARACTER_ENCODING (D)
3169    --        /WIDE_CHARACTER_ENCODING[=encode-type]
3170    --
3171    --   Specifies the mechanism used to encode wide characters.  'encode-type'
3172    --   is one of the following:
3173    --
3174    --   BRACKETS (D)    A wide character is encoded as ["xxxx"] where XXXX
3175    --                   are four hexadecimal digits representing the coding
3176    --                   ('Pos value) of the character in type
3177    --                   Wide_Character. The hexadecimal digits may use upper
3178    --                   or lower case letters.
3179    --
3180    --                   This notation can also be used for upper half
3181    --                   Character values using the format ["xx"] where XX is
3182    --                   two hexadecimal digits representing the coding ('Pos
3183    --                   value) of the character in type Character (or
3184    --                   Wide_Character). The hexadecimal digits may use upper
3185    --                   of lower case.
3186    --
3187    --   NONE            No wide characters are allowed.  Same
3188    --                   as /NOWIDE_CHARACTER_ENCODING.
3189    --
3190    --   HEX             In this encoding, a wide character is represented by
3191    --                   the following five character sequence: ESC a b c d
3192    --                   Where 'a', 'b', 'c', and 'd' are the four hexadecimal
3193    --                   characters (using uppercase letters) of the wide
3194    --                   character code. For example, ESC A345 is used to
3195    --                   represent the wide character with code 16#A345#. This
3196    --                   scheme is compatible with use of the full
3197    --                   Wide_Character set.
3198    --
3199    --   UPPER           The wide character with encoding 16#abcd# where the
3200    --                   upper bit is on (in other words, "a" is in the range
3201    --                   8-F) is represented as two bytes, 16#ab# and 16#cd#.
3202    --                   The second byte may never be a format control
3203    --                   character, but is not required to be in the upper
3204    --                   half. This method can be also used for shift-JIS or
3205    --                   EUC, where the internal coding matches the external
3206    --                   coding.
3207    --
3208    --   SHIFT_JIS       A wide character is represented by a two-character
3209    --                   sequence, 16#ab# and 16#cd#, with the restrictions
3210    --                   described for upper-half encoding as described above.
3211    --                   The internal character code is the corresponding JIS
3212    --                   character according to the standard algorithm for
3213    --                   Shift-JIS conversion. Only characters defined in the
3214    --                   JIS code set table can be used with this encoding
3215    --                   method.
3216    --
3217    --   UTF8            A wide character is represented using
3218    --                   UCS Transformation Format 8 (UTF-8) as defined in Annex
3219    --                   R of ISO 10646-1/Am.2.  Depending on the character
3220    --                   value, the representation is a one, two, or three byte
3221    --                   sequence:
3222    --
3223    --                   16#0000#-16#007f#: 2#0xxxxxxx#
3224    --                   16#0080#-16#07ff#: 2#110xxxxx# 2#10xxxxxx#
3225    --                   16#0800#-16#ffff#: 2#1110xxxx# 2#10xxxxxx# 2#10xxxxxx#
3226    --
3227    --                   where the xxx bits correspond to the left-padded bits
3228    --                   of the 16-bit character value. Note that all lower
3229    --                   half ASCII characters are represented as ASCII bytes
3230    --                   and all upper half characters and other wide characters
3231    --                   are represented as sequences of upper-half (The full
3232    --                   UTF-8 scheme allows for encoding 31-bit characters as
3233    --                   6-byte sequences, but in this implementation, all UTF-8
3234    --                   sequences of four or more bytes length will be treated
3235    --                   as illegal).
3236    --
3237    --   EUC             A wide character is represented by a two-character
3238    --                   sequence 16#ab# and 16#cd#, with both characters being
3239    --                   in the upper half. The internal character code is the
3240    --                   corresponding JIS character according to the EUC
3241    --                   encoding algorithm. Only characters defined in the JIS
3242    --                   code set table can be used with this encoding method.
3243
3244    S_GCC_WideX   : aliased constant S := "/NOWIDE_CHARACTER_ENCODING "     &
3245                                              "-gnatWn";
3246    --  NODOC (see /WIDE_CHARACTER_ENCODING)
3247
3248    S_GCC_Xdebug  : aliased constant S := "/XDEBUG "                        &
3249                                              "-gnatD";
3250    --        /NOXDEBUG (D)
3251    --        /XDEBUG
3252    --
3253    --   Output expanded source files for source level debugging.
3254    --   The expanded source (see /EXPAND_SOURCE) is written to files
3255    --   with names formed by appending "_DG" to the input file name,
3256    --   The debugging information generated by the /DEBUG qualifier will then
3257    --   refer to the generated file. This allows source level debugging using
3258    --   the generated code which is sometimes useful for complex code, for
3259    --   example to find out exactly which part of a complex construction
3260    --   raised an exception.
3261
3262    S_GCC_Xref    : aliased constant S := "/XREF="                          &
3263                                             "GENERATE "                    &
3264                                                "!-gnatx "                  &
3265                                             "SUPPRESS "                    &
3266                                                "-gnatx";
3267    --        /XREF[=keyword]
3268    --
3269    --   Normally the compiler generates full cross-referencing information in
3270    --   the .ALI file. This information is used by a number of tools,
3271    --   including GNAT FIND and GNAT XREF.
3272    --
3273    --        GENERATE (D)            Generate cross-referencing information.
3274    --
3275    --        SUPPRESS                Suppress cross-referencing information.
3276    --                                This saves some space and may slightly
3277    --                                speed up compilation, but means that some
3278    --                                tools cannot be used.
3279
3280    GCC_Switches : aliased constant Switches :=
3281                     (S_GCC_Ada_83  'Access,
3282                      S_GCC_Ada_95  'Access,
3283                      S_GCC_Ada_05  'Access,
3284                      S_GCC_Add     'Access,
3285                      S_GCC_Asm     'Access,
3286                      S_GCC_Checks  'Access,
3287                      S_GCC_ChecksX 'Access,
3288                      S_GCC_Compres 'Access,
3289                      S_GCC_Config  'Access,
3290                      S_GCC_Current 'Access,
3291                      S_GCC_Debug   'Access,
3292                      S_GCC_DebugX  'Access,
3293                      S_GCC_Data    'Access,
3294                      S_GCC_Dist    'Access,
3295                      S_GCC_DistX   'Access,
3296                      S_GCC_Error   'Access,
3297                      S_GCC_ErrorX  'Access,
3298                      S_GCC_Expand  'Access,
3299                      S_GCC_Extend  'Access,
3300                      S_GCC_Ext     'Access,
3301                      S_GCC_File    'Access,
3302                      S_GCC_Follow  'Access,
3303                      S_GCC_Force   'Access,
3304                      S_GCC_Full    'Access,
3305                      S_GCC_GNAT    'Access,
3306                      S_GCC_Help    'Access,
3307                      S_GCC_Ident   'Access,
3308                      S_GCC_IdentX  'Access,
3309                      S_GCC_Ignore  'Access,
3310                      S_GCC_Immed   'Access,
3311                      S_GCC_Inline  'Access,
3312                      S_GCC_InlineX 'Access,
3313                      S_GCC_Intsrc  'Access,
3314                      S_GCC_Just    'Access,
3315                      S_GCC_JustX   'Access,
3316                      S_GCC_Length  'Access,
3317                      S_GCC_List    'Access,
3318                      S_GCC_Output  'Access,
3319                      S_GCC_Mapping 'Access,
3320                      S_GCC_Mess    'Access,
3321                      S_GCC_Nesting 'Access,
3322                      S_GCC_Noadc   'Access,
3323                      S_GCC_Noload  'Access,
3324                      S_GCC_Nostinc 'Access,
3325                      S_GCC_Nostlib 'Access,
3326                      S_GCC_Opt     'Access,
3327                      S_GCC_OptX    'Access,
3328                      S_GCC_Polling 'Access,
3329                      S_GCC_Project 'Access,
3330                      S_GCC_Psta    'Access,
3331                      S_GCC_Report  'Access,
3332                      S_GCC_ReportX 'Access,
3333                      S_GCC_Repinfo 'Access,
3334                      S_GCC_RepinfX 'Access,
3335                      S_GCC_RTS     'Access,
3336                      S_GCC_Search  'Access,
3337                      S_GCC_Style   'Access,
3338                      S_GCC_StyleX  'Access,
3339                      S_GCC_Subdirs 'Access,
3340                      S_GCC_Symbol  'Access,
3341                      S_GCC_Syntax  'Access,
3342                      S_GCC_Table   'Access,
3343                      S_GCC_Trace   'Access,
3344                      S_GCC_Tree    'Access,
3345                      S_GCC_Trys    'Access,
3346                      S_GCC_Units   'Access,
3347                      S_GCC_Unique  'Access,
3348                      S_GCC_Upcase  'Access,
3349                      S_GCC_Valid   'Access,
3350                      S_GCC_Verbose 'Access,
3351                      S_GCC_Verb_Asm'Access,
3352                      S_GCC_Warn    'Access,
3353                      S_GCC_WarnX   'Access,
3354                      S_GCC_Wide    'Access,
3355                      S_GCC_WideX   'Access,
3356                      S_GCC_No_Back 'Access,
3357                      S_GCC_All_Back'Access,
3358                      S_GCC_Xdebug  'Access,
3359                      S_GCC_Xref    'Access);
3360
3361    ----------------------------
3362    -- Switches for GNAT ELIM --
3363    ----------------------------
3364
3365    S_Elim_Add    : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"       &
3366                                            "-aP*";
3367    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
3368    --
3369    --   Add directories to the project search path.
3370
3371    S_Elim_All    : aliased constant S := "/ALL "                           &
3372                                             "-a";
3373    --        /NOALL (D)
3374    --        /ALL
3375    --
3376    --   Also look for subprograms from the GNAT run time that can be
3377    --   eliminated. Note that when 'gnat.adc' is produced using this switch,
3378    --   the entire program must be recompiled with qualifier /ALL_FILES of
3379    --   GNAT MAKE.
3380
3381    S_Elim_Bind   : aliased constant S := "/BIND_FILE=<"                    &
3382                                             "-b>";
3383    --        /BIND_FILE=file_name
3384    --
3385    --   Specifies file_name as the bind file to process. If this qualifier is
3386    --   not used, the name of the bind file is computed from the full expanded
3387    --   Ada name of a main subprogram.
3388
3389    S_Elim_Comp   : aliased constant S := "/COMPILER=@"                     &
3390                                             "--GCC=@";
3391    --        /COMPILER=path_name
3392    --
3393    --   Instructs GNAT ELIM to use a specific gcc compiler instead of one
3394    --   available on the path.
3395
3396    S_Elim_Config : aliased constant S := "/CONFIGURATION_PRAGMAS=<"        &
3397                                             "-C>";
3398    --        /CONFIGURATION_PRAGMAS=path_name
3399    --
3400    --   Specifies a file that contains configuration pragmas.
3401    --   The file must be specified with absolute path.
3402
3403    S_Elim_Current : aliased constant S := "/CURRENT_DIRECTORY "            &
3404                                            "!-I-";
3405    --        /CURRENT_DIRECTORY (D)
3406    --        /NOCURRENT_DIRECTORY
3407    --
3408    --        Look for source files in the default directory.
3409
3410    S_Elim_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'     &
3411                                              "-X" & '"';
3412    --       /EXTERNAL_REFERENCE="name=val"
3413    --
3414    --   Specifies an external reference to the project manager. Useful only if
3415    --   /PROJECT_FILE is used.
3416    --
3417    --   Example:
3418    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
3419
3420    S_Elim_Follow  : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
3421                                             "-eL";
3422    --        /NOFOLLOW_LINKS_FOR_FILES (D)
3423    --        /FOLLOW_LINKS_FOR_FILES
3424    --
3425    --    Follow links when parsing project files
3426
3427    S_Elim_GNATMAKE : aliased constant S := "/GNATMAKE=@"                   &
3428                                             "--GNATMAKE=@";
3429    --        /GNATMAKE=path_name
3430    --
3431    --   Instructs GNAT MAKE to use a specific gnatmake instead of one available
3432    --   on the path.
3433
3434    S_Elim_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="        &
3435                                              "DEFAULT "                    &
3436                                                 "-vP0 "                    &
3437                                              "MEDIUM "                     &
3438                                                 "-vP1 "                    &
3439                                              "HIGH "                       &
3440                                                 "-vP2";
3441    --        /MESSAGES_PROJECT_FILE[=messages-option]
3442    --
3443    --   Specifies the "verbosity" of the parsing of project files.
3444    --   messages-option may be one of the following:
3445    --
3446    --      DEFAULT (D)  No messages are output if there is no error or warning.
3447    --
3448    --      MEDIUM       A small number of messages are output.
3449    --
3450    --      HIGH         A great number of messages are output, most of them not
3451    --                   being useful for the user.
3452
3453    S_Elim_Project : aliased constant S := "/PROJECT_FILE=<"                &
3454                                              "-P>";
3455    --        /PROJECT_FILE=filename
3456    --
3457    --   Specifies the main project file to be used. The project files rooted
3458    --   at the main project file will be parsed before the invocation of the
3459    --   gnatelim. The source directories to be searched will be communicated
3460    --   to gnatelim through logical name ADA_PRJ_INCLUDE_FILE.
3461
3462    S_Elim_Quiet  : aliased constant S := "/QUIET "                         &
3463                                             "-q";
3464    --        /NOQUIET (D)
3465    --        /QUIET
3466    --
3467    --   Quiet mode: by default GNAT ELIM outputs to the standard error stream
3468    --   the number of program units left to be processed. This option turns
3469    --   this trace off.
3470
3471    S_Elim_Search : aliased constant S := "/SEARCH=*"                       &
3472                                             "-I*";
3473    --        /SEARCH=(directory, ...)
3474    --
3475    --   When looking for source files also look in the specified directories.
3476
3477    S_Elim_Subdirs : aliased constant S := "/SUBDIRS=<"                     &
3478                                              "--subdirs=>";
3479    --        /SUBDIRS=dir
3480    --
3481    --   The actual directories (object, exec, library, ...) are subdirectories
3482    --   of the directory specified in the project file. If the subdirectory
3483    --   does not exist, it is created automatically.
3484
3485    S_Elim_Verb   : aliased constant S := "/VERBOSE "                       &
3486                                             "-v";
3487    --        /NOVERBOSE (D)
3488    --        /VERBOSE
3489    --
3490    --   Verbose mode: GNAT ELIM version information is output as Ada comments
3491    --   to the standard output stream. Also, in addition to the number of
3492    --   program units left, GNAT ELIM will output the name of the current unit
3493    --   being processed.
3494
3495    Elim_Switches : aliased constant Switches :=
3496                      (S_Elim_Add     'Access,
3497                       S_Elim_All     'Access,
3498                       S_Elim_Bind    'Access,
3499                       S_Elim_Comp    'Access,
3500                       S_Elim_Config  'Access,
3501                       S_Elim_Current 'Access,
3502                       S_Elim_Ext     'Access,
3503                       S_Elim_Follow  'Access,
3504                       S_Elim_GNATMAKE'Access,
3505                       S_Elim_Mess    'Access,
3506                       S_Elim_Project 'Access,
3507                       S_Elim_Quiet   'Access,
3508                       S_Elim_Search  'Access,
3509                       S_Elim_Subdirs 'Access,
3510                       S_Elim_Verb    'Access);
3511
3512    ----------------------------
3513    -- Switches for GNAT FIND --
3514    ----------------------------
3515
3516    S_Find_Add     : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"      &
3517                                             "-aP*";
3518    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
3519    --
3520    --   Add directories to the project search path.
3521
3522    S_Find_All     : aliased constant S := "/ALL_FILES "                    &
3523                                             "-a";
3524    --        /NOALL_FILES (D)
3525    --        /ALL_FILES
3526    --
3527    --   If this switch is present, FIND and XREF will parse the read-only
3528    --   files found in the library search path. Otherwise, these files will
3529    --   be ignored. This option can be used to protect Gnat sources or your
3530    --   own libraries from being parsed, thus making FIND and XREF much
3531    --   faster, and their output much smaller.
3532
3533    S_Find_Deriv   : aliased constant S := "/DERIVED_TYPE_INFORMATION "     &
3534                                             "-d";
3535    --        /NODERIVED_TYPE_INFORMATION (D)
3536    --        /DERIVED_TYPE_INFORMATION
3537    --
3538    --   Output the parent type reference for each matching derived types.
3539
3540    S_Find_Expr    : aliased constant S := "/EXPRESSIONS "                  &
3541                                             "-e";
3542    --        /NOEXPRESSIONS (D)
3543    --        /EXPRESSIONS
3544    --
3545    --   By default, FIND accepts the simple regular expression set for pattern.
3546    --   If this switch is set, then the pattern will be considered as a full
3547    --   Unix-style regular expression.
3548
3549    S_Find_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'     &
3550                                             "-X" & '"';
3551    --        /EXTERNAL_REFERENCE="name=val"
3552    --
3553    --   Specifies an external reference to the project manager. Useful only if
3554    --   /PROJECT_FILE is used.
3555    --
3556    --   Example:
3557    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
3558
3559    S_Find_Follow  : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
3560                                             "-eL";
3561    --        /NOFOLLOW_LINKS_FOR_FILES (D)
3562    --        /FOLLOW_LINKS_FOR_FILES
3563    --
3564    --    Follow links when parsing project files
3565
3566    S_Find_Full    : aliased constant S := "/FULL_PATHNAME "                &
3567                                             "-f";
3568    --        /NOFULL_PATHNAME (D)
3569    --        /FULL_PATHNAME
3570    --
3571    --   If this switch is set, the output file names will be preceded by their
3572    --   directory (if the file was found in the search path). If this switch
3573    --   is not set, the directory will not be printed.
3574
3575    S_Find_Ignore  : aliased constant S := "/IGNORE_LOCALS "                &
3576                                             "-g";
3577    --        /NOIGNORE_LOCALS (D)
3578    --        /IGNORE_LOCALS
3579    --
3580    --   If this switch is set, information is output only for library-level
3581    --   entities, ignoring local entities. The use of this switch may
3582    --   accelerate FIND and XREF.
3583
3584    S_Find_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="        &
3585                                             "DEFAULT "                     &
3586                                                "-vP0 "                     &
3587                                             "MEDIUM "                      &
3588                                                "-vP1 "                     &
3589                                             "HIGH "                        &
3590                                                "-vP2";
3591    --        /MESSAGES_PROJECT_FILE[=messages-option]
3592    --
3593    --   Specifies the "verbosity" of the parsing of project files.
3594    --   messages-option may be one of the following:
3595    --
3596    --      DEFAULT (D)  No messages are output if there is no error or warning.
3597    --
3598    --      MEDIUM       A small number of messages are output.
3599    --
3600    --      HIGH         A great number of messages are output, most of them not
3601    --                   being useful for the user.
3602
3603    S_Find_Nostinc : aliased constant S := "/NOSTD_INCLUDES "               &
3604                                             "-nostdinc";
3605    --        /NOSTD_INCLUDES
3606    --
3607    --   Do not look for sources in the system default directory.
3608
3609    S_Find_Nostlib : aliased constant S := "/NOSTD_LIBRARIES "              &
3610                                             "-nostdlib";
3611    --        /NOSTD_LIBRARIES
3612    --
3613    --   Do not look for library files in the system default directory.
3614
3615    S_Find_Object  : aliased constant S := "/OBJECT_SEARCH=*"               &
3616                                             "-aO*";
3617    --        /OBJECT_SEARCH=(directory,...)
3618    --
3619    --   When searching for library and object files, look in the specified
3620    --   directories. The order in which library files are searched is the same
3621    --   as for MAKE.
3622
3623    S_Find_Print   : aliased constant S := "/PRINT_LINES "                  &
3624                                             "-s";
3625    --        /NOPRINT_LINES (D)
3626    --        /PRINT_LINES
3627    --
3628    --   Output the content of the Ada source file lines were the entity was
3629    --   found.
3630
3631    S_Find_Project : aliased constant S := "/PROJECT=@"                     &
3632                                             "-p@";
3633    --        /PROJECT=file
3634    --
3635    --   Specify a project file to use. By default, FIND and XREF will try to
3636    --   locate a project file in the current directory.
3637    --
3638    --   If a project file is either specified or found by the tools, then the
3639    --   content of the source directory and object directory lines are added
3640    --   as if they had been specified respectively by /SOURCE_SEARCH and
3641    --   /OBJECT_SEARCH.
3642    --
3643    --   This qualifier is not compatible with /PROJECT_FILE
3644
3645    S_Find_Prj     : aliased constant S := "/PROJECT_FILE=<"                &
3646                                             "-P>";
3647    --        /PROJECT_FILE=filename
3648    --
3649    --   Specifies the main project file to be used. The project files rooted
3650    --   at the main project file will be parsed before looking for sources.
3651    --   The source and object directories to be searched will be communicated
3652    --   to gnatfind  through logical names ADA_PRJ_INCLUDE_FILE and
3653    --   ADA_PRJ_OBJECTS_FILE.
3654
3655    S_Find_Ref     : aliased constant S := "/REFERENCES "                   &
3656                                             "-r";
3657    --        /NOREFERENCES (D)
3658    --        /REFERENCES
3659    --
3660    --   By default, FIND will output only the information about the
3661    --   declaration, body or type completion of the entities. If this switch
3662    --   is set, the FIND will locate every reference to the entities in the
3663    --   files specified on the command line (or in every file in the search
3664    --   path if no file is given on the command line).
3665
3666    S_Find_Search  : aliased constant S := "/SEARCH=*"                      &
3667                                             "-I*";
3668    --        /SEARCH=(directory,...)
3669    --
3670    --   Equivalent to:
3671    --   /OBJECT_SEARCH=(directory,...) /SOURCE_SEARCH=(directory,...)
3672
3673    S_Find_Source  : aliased constant S := "/SOURCE_SEARCH=*"               &
3674                                             "-aI*";
3675    --        /SOURCE_SEARCH=(directory,...)
3676    --
3677    --   When looking for source files also look in the specified directories.
3678    --   The order in which source file search is undertaken is the same as for
3679    --   MAKE.
3680
3681    S_Find_Subdirs : aliased constant S := "/SUBDIRS=<"                     &
3682                                              "--subdirs=>";
3683    --        /SUBDIRS=dir
3684    --
3685    --   The actual directories (object, exec, library, ...) are subdirectories
3686    --   of the directory specified in the project file. If the subdirectory
3687    --   does not exist, it is created automatically.
3688
3689    S_Find_Types   : aliased constant S := "/TYPE_HIERARCHY "               &
3690                                             "-t";
3691    --        /NOTYPE_HIERARCHY (D)
3692    --        /TYPE_HIERARCHY
3693    --
3694    --   Output the type hierarchy for the specified type. It acts like the
3695    --   /DERIVED_TYPE_INFORMATION qualifier, but recursively from parent type
3696    --   to parent type. When this qualifier is specified it is not possible to
3697    --   specify more than one file.
3698
3699    Find_Switches : aliased constant Switches :=
3700                      (S_Find_Add     'Access,
3701                       S_Find_All     'Access,
3702                       S_Find_Deriv   'Access,
3703                       S_Find_Expr    'Access,
3704                       S_Find_Ext     'Access,
3705                       S_Find_Follow  'Access,
3706                       S_Find_Full    'Access,
3707                       S_Find_Ignore  'Access,
3708                       S_Find_Mess    'Access,
3709                       S_Find_Nostinc 'Access,
3710                       S_Find_Nostlib 'Access,
3711                       S_Find_Object  'Access,
3712                       S_Find_Print   'Access,
3713                       S_Find_Project 'Access,
3714                       S_Find_Prj     'Access,
3715                       S_Find_Ref     'Access,
3716                       S_Find_Search  'Access,
3717                       S_Find_Source  'Access,
3718                       S_Find_Subdirs 'Access,
3719                       S_Find_Types   'Access);
3720
3721    ------------------------------
3722    -- Switches for GNAT KRUNCH --
3723    ------------------------------
3724
3725    S_Krunch_Count  : aliased constant S := "/COUNT=#"                      &
3726                                             "`#";
3727    --        /COUNT=39 (D)
3728    --        /COUNT=nnn
3729    --
3730    --   Limit file names to nnn characters (where nnn is a decimal
3731    --   integer). The maximum file name length is 39, but if you want to
3732    --   generate a set of files that would be usable if ported to a system
3733    --   with some different maximum file length, then a different value can
3734    --   be specified.
3735
3736    Krunch_Switches : aliased constant Switches  :=
3737                        (1 .. 1 => S_Krunch_Count  'Access);
3738
3739    ----------------------------
3740    -- Switches for GNAT LINK --
3741    ----------------------------
3742
3743    S_Link_Add     : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"      &
3744                                             "-aP*";
3745    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
3746    --
3747    --   Add directories to the project search path.
3748
3749    S_Link_Bind    : aliased constant S := "/BIND_FILE="                    &
3750                                             "ADA "                         &
3751                                                "-A "                       &
3752                                             "C "                           &
3753                                                "-C";
3754    --        /BIND_FILE=[bind-file-option]
3755    --
3756    --   Specifies the language of the binder generated file.
3757    --
3758    --        ADA (D)         Binder file is Ada.
3759    --
3760    --        C               Binder file is 'C'.
3761
3762    S_Link_Debug   : aliased constant S := "/DEBUG="                        &
3763                                             "ALL "                         &
3764                                                "-g3 "                      &
3765                                             "NONE "                        &
3766                                                "-g0 "                      &
3767                                             "TRACEBACK "                   &
3768                                                "-g1 "                      &
3769                                             "NOTRACEBACK "                 &
3770                                                "-g0";
3771    --        /NODEBUG (D)
3772    --        /DEBUG[=debug-option]
3773    --
3774    --   Specifies the amount of debugging information included. 'debug-option'
3775    --   is one of the following:
3776    --
3777    --        ALL (D)      Include full debugging information.
3778    --
3779    --        NONE         Provide no debugging information.  Same as /NODEBUG.
3780    --
3781    --        TRACEBACK    Provide sufficient debug information for a traceback.
3782    --
3783    --        NOTRACEBACK  Same as NONE.
3784
3785    S_Link_Nodebug : aliased constant S := "/NODEBUG "                      &
3786                                             "-g0";
3787    --  NODOC (see /DEBUG)
3788
3789    S_Link_Execut  : aliased constant S := "/EXECUTABLE=@"                  &
3790                                             "-o@";
3791    --        /EXECUTABLE=exec-name
3792    --
3793    --   'exec-name' specifies an alternative name for the generated executable
3794    --   program. If this qualifier switch is omitted, the executable is called
3795    --   the name of the main unit. So "$ GNAT LINK TRY.ALI" creates an
3796    --   executable called TRY.EXE.
3797
3798    S_Link_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'     &
3799                                             "-X" & '"';
3800    --        /EXTERNAL_REFERENCE="name=val"
3801    --
3802    --   Specifies an external reference to the project manager. Useful only if
3803    --   /PROJECT_FILE is used.
3804    --
3805    --   Example:
3806    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
3807
3808    S_Link_Follow  : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
3809                                             "-eL";
3810    --        /NOFOLLOW_LINKS_FOR_FILES (D)
3811    --        /FOLLOW_LINKS_FOR_FILES
3812    --
3813    --    Follow links when parsing project files
3814
3815    S_Link_Forlink : aliased constant S := "/FOR_LINKER=" & '"'             &
3816                                             "--for-linker=" & '"';
3817    --        /FOR_LINKER=<string>
3818    --
3819    --   Transmit the option <string> to the underlying linker.
3820
3821    S_Link_Force   : aliased constant S := "/FORCE_OBJECT_FILE_LIST "       &
3822                                             "-f";
3823    --        /NOFORCE_OBJECT_FILE_LIST (D)
3824    --        /FORCE_OBJECT_FILE_LIST
3825    --
3826    --   Forces the generation of a file that contains commands for the linker.
3827    --   This is useful in some cases to deal with special situations where the
3828    --   command line length is exceeded.
3829
3830    S_Link_Ident   : aliased constant S := "/IDENTIFICATION=" & '"'         &
3831                                             "--for-linker=IDENT="          &
3832                                             '"';
3833    --        /IDENTIFICATION="<string>"
3834    --
3835    --   "<string>" specifies the string to be stored in the image file ident-
3836    --   ification field in the image header. It overrides any pragma Ident
3837    --   specified string.
3838
3839    S_Link_Libdir  : aliased constant S := "/LIBDIR=*"                      &
3840                                             "-L*";
3841    --        /LIBDIR=(directory, ...)
3842    --
3843    --   Look for libraries in the specified directories.
3844
3845    S_Link_Library : aliased constant S := "/LIBRARY=|"                     &
3846                                             "-l|";
3847    --        /LIBRARY=xyz
3848    --
3849    --   Link with library named "xyz".
3850
3851    S_Link_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="        &
3852                                             "DEFAULT "                     &
3853                                                "-vP0 "                     &
3854                                             "MEDIUM "                      &
3855                                                "-vP1 "                     &
3856                                             "HIGH "                        &
3857                                                "-vP2";
3858    --        /MESSAGES_PROJECT_FILE[=messages-option]
3859    --
3860    --   Specifies the "verbosity" of the parsing of project files.
3861    --   messages-option may be one of the following:
3862    --
3863    --      DEFAULT (D)  No messages are output if there is no error or warning.
3864    --
3865    --      MEDIUM       A small number of messages are output.
3866    --
3867    --      HIGH         A great number of messages are output, most of them not
3868    --                   being useful for the user.
3869
3870    S_Link_Nocomp  : aliased constant S := "/NOCOMPILE "                    &
3871                                             "-n";
3872    --        /NOCOMPILE
3873    --
3874    --   Do not compile the file generated by the binder.
3875    --   This may be used when a link is rerun with different options,
3876    --   but there is no need to recompile the binder generated file.
3877
3878    S_Link_Noinhib : aliased constant S := "/NOINHIBIT-EXEC "               &
3879                                             "--for-linker=--noinhibit-exec";
3880    --        /NOINHIBIT-EXEC
3881    --
3882    --   Delete executable if there are errors or warnings.
3883
3884    S_Link_Nofiles : aliased constant S := "/NOSTART_FILES "                &
3885                                             "-nostartfiles";
3886    --        /NOSTART_FILES
3887    --
3888    --   Link in default image initialization and startup functions.
3889
3890    S_Link_Project : aliased constant S := "/PROJECT_FILE=<"                &
3891                                             "-P>";
3892    --        /PROJECT_FILE=filename
3893    --
3894    --   Specifies the main project file to be used. The project files rooted
3895    --   at the main project file will be parsed before the invocation of the
3896    --   linker.
3897    --   The source and object directories to be searched will be communicated
3898    --   to the linker through logical names ADA_PRJ_INCLUDE_FILE and
3899    --   ADA_PRJ_OBJECTS_FILE.
3900
3901    S_Link_Return  : aliased constant S := "/RETURN_CODES="                 &
3902                                             "POSIX "                       &
3903                                                "!-mvms-return-codes "      &
3904                                             "VMS "                         &
3905                                                "-mvms-return-codes";
3906    --        /RETURN_CODES=POSIX (D)
3907    --        /RETURN_CODES=VMS
3908    --
3909    --   Specifies the style of codes returned by
3910    --   Ada.Command_Line.Set_Exit_Status. Must be used in conjunction with
3911    --   and match the Bind qualifier with the same name.
3912    --
3913    --        POSIX (D)   Return Posix compatible exit codes.
3914    --
3915    --        VMS         Return VMS compatible exit codes. The value returned
3916    --                    is identically equal to the Set_Exit_Status parameter.
3917
3918    S_Link_Static  : aliased constant S := "/STATIC "                       &
3919                                             "--for-linker=-static";
3920    --        /NOSTATIC (D)
3921    --        /STATIC
3922    --
3923    --   Indicate to the linker that the link is static.
3924
3925    S_Link_Subdirs : aliased constant S := "/SUBDIRS=<"                     &
3926                                              "--subdirs=>";
3927    --        /SUBDIRS=dir
3928    --
3929    --   The actual directories (object, exec, library, ...) are subdirectories
3930    --   of the directory specified in the project file. If the subdirectory
3931    --   does not exist, it is created automatically.
3932
3933    S_Link_Verb    : aliased constant S := "/VERBOSE "                      &
3934                                             "-v";
3935    --        /NOVERBOSE (D)
3936    --        /VERBOSE
3937    --
3938    --   Causes additional information to be output, including a full list of
3939    --   the included object files. This switch option is most useful when you
3940    --   want to see what set of object files are being used in the link step.
3941
3942    S_Link_ZZZZZ   : aliased constant S := "/<other> "                      &
3943                                             "--for-linker=";
3944    --        /<other>
3945    --
3946    --   Any other switch that will be transmitted to the underlying linker.
3947
3948    Link_Switches : aliased constant Switches :=
3949                      (S_Link_Add     'Access,
3950                       S_Link_Bind    'Access,
3951                       S_Link_Debug   'Access,
3952                       S_Link_Nodebug 'Access,
3953                       S_Link_Execut  'Access,
3954                       S_Link_Ext     'Access,
3955                       S_Link_Follow  'Access,
3956                       S_Link_Forlink 'Access,
3957                       S_Link_Force   'Access,
3958                       S_Link_Ident   'Access,
3959                       S_Link_Libdir  'Access,
3960                       S_Link_Library 'Access,
3961                       S_Link_Mess    'Access,
3962                       S_Link_Nocomp  'Access,
3963                       S_Link_Nofiles 'Access,
3964                       S_Link_Noinhib 'Access,
3965                       S_Link_Project 'Access,
3966                       S_Link_Return  'Access,
3967                       S_Link_Static  'Access,
3968                       S_Link_Subdirs 'Access,
3969                       S_Link_Verb    'Access,
3970                       S_Link_ZZZZZ   'Access);
3971
3972    ----------------------------
3973    -- Switches for GNAT LIST --
3974    ----------------------------
3975
3976    S_List_Add     : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"      &
3977                                             "-aP*";
3978    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
3979    --
3980    --   Add directories to the project search path.
3981
3982    S_List_All     : aliased constant S := "/ALL_UNITS "                    &
3983                                             "-a";
3984    --        /NOALL_UNITS (D)
3985    --        /ALL_UNITS
3986    --
3987    --   Consider all units, including those of the predefined Ada library.
3988    --   Especially useful with /DEPENDENCIES.
3989
3990    S_List_Allproj : aliased constant S := "/ALL_PROJECTS "                 &
3991                                             "-U";
3992    --        /NOALL_PROJECTS (D)
3993    --        /ALL_PROJECTS
3994    --
3995    --   When used with a project file and no file specified, indicate
3996    --   that gnatls should be called for all sources of all projects in
3997    --   the project tree.
3998
3999    S_List_Current : aliased constant S := "/CURRENT_DIRECTORY "            &
4000                                             "!-I-";
4001    --        /CURRENT_DIRECTORY (D)
4002    --        /NOCURRENT_DIRECTORY
4003    --
4004    --   Look for source, library or object files in the default directory.
4005
4006    S_List_Depend  : aliased constant S := "/DEPENDENCIES "                 &
4007                                             "-d";
4008    --        /NODEPENDENCIES (D)
4009    --        /DEPENDENCIES
4010
4011    S_List_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'     &
4012                                             "-X" & '"';
4013    --        /EXTERNAL_REFERENCE="name=val"
4014    --
4015    --   Specifies an external reference to the project manager. Useful only if
4016    --   /PROJECT_FILE is used.
4017    --
4018    --   Example:
4019    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
4020
4021    S_List_Files   : aliased constant S := "/FILES=@"                       &
4022                                             "-files=@";
4023    --        /FILES=filename
4024    --
4025    --   Take as arguments the files that are listed in the specified
4026    --   text file.
4027
4028    S_List_Follow  : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
4029                                             "-eL";
4030    --        /NOFOLLOW_LINKS_FOR_FILES (D)
4031    --        /FOLLOW_LINKS_FOR_FILES
4032    --
4033    --    Follow links when parsing project files
4034
4035    S_List_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="        &
4036                                             "DEFAULT "                     &
4037                                                "-vP0 "                     &
4038                                             "MEDIUM "                      &
4039                                                "-vP1 "                     &
4040                                             "HIGH "                        &
4041                                                "-vP2";
4042    --        /MESSAGES_PROJECT_FILE[=messages-option]
4043    --
4044    --   Specifies the "verbosity" of the parsing of project files.
4045    --   messages-option may be one of the following:
4046    --
4047    --      DEFAULT (D)  No messages are output if there is no error or warning.
4048    --
4049    --      MEDIUM       A small number of messages are output.
4050    --
4051    --      HIGH         A great number of messages are output, most of them not
4052    --                   being useful for the user.
4053
4054    S_List_Nostinc : aliased constant S := "/NOSTD_INCLUDES "               &
4055                                             "-nostdinc";
4056    --        /NOSTD_INCLUDES
4057    --
4058    --   Do not look for sources of the run time in the standard directory.
4059
4060    S_List_Object  : aliased constant S := "/OBJECT_SEARCH=*"               &
4061                                             "-aO*";
4062    --        /OBJECT_SEARCH=(directory,...)
4063    --
4064    --   When looking for library and object files look also in the specified
4065    --   directories.
4066
4067    S_List_Output  : aliased constant S := "/OUTPUT="                       &
4068                                             "SOURCES "                     &
4069                                                "-s "                       &
4070                                             "DEPEND "                      &
4071                                                "-d "                       &
4072                                             "OBJECTS "                     &
4073                                                "-o "                       &
4074                                             "UNITS "                       &
4075                                                "-u "                       &
4076                                             "OPTIONS "                     &
4077                                                "-h "                       &
4078                                             "VERBOSE "                     &
4079                                                "-v ";
4080    --        /OUTPUT=(option,option,...)
4081    --
4082    --        SOURCES (D)     Only output information about source files.
4083    --
4084    --        DEPEND          List sources from which specified units depend on.
4085    --
4086    --        OBJECTS         Only output information about object files.
4087    --
4088    --        UNITS           Only output information about compilation units.
4089    --
4090    --        OPTIONS         Output the list of options.
4091    --
4092    --        VERBOSE         Output the complete source and object paths.
4093    --                        Do not use the default column layout but instead
4094    --                        use long format giving as much as information
4095    --                        possible on each requested units, including
4096    --                        special characteristics.
4097
4098    S_List_Project : aliased constant S := "/PROJECT_FILE=<"                &
4099                                             "-P>";
4100    --        /PROJECT_FILE=filename
4101    --
4102    --   Specifies the main project file to be used. The project files rooted
4103    --   at the main project file will be parsed before doing any listing.
4104    --   The source and object directories to be searched will be communicated
4105    --   to gnatlist through logical names ADA_PRJ_INCLUDE_FILE and
4106    --   ADA_PRJ_OBJECTS_FILE.
4107
4108    S_List_Search  : aliased constant S := "/SEARCH=*"                      &
4109                                             "-I*";
4110    --        /SEARCH=(directory,...)
4111    --
4112    --   Search the specified directories for both source and object files.
4113
4114    S_List_Source  : aliased constant S := "/SOURCE_SEARCH=*"               &
4115                                             "-aI*";
4116    --        /SOURCE_SEARCH=(directory,...)
4117    --
4118    --   When looking for source files also look in the specified directories.
4119
4120    S_List_Subdirs : aliased constant S := "/SUBDIRS=<"                     &
4121                                              "--subdirs=>";
4122    --        /SUBDIRS=dir
4123    --
4124    --   The actual directories (object, exec, library, ...) are subdirectories
4125    --   of the directory specified in the project file. If the subdirectory
4126    --   does not exist, it is created automatically.
4127
4128    List_Switches : aliased constant Switches :=
4129                      (S_List_Add     'Access,
4130                       S_List_All     'Access,
4131                       S_List_Allproj 'Access,
4132                       S_List_Current 'Access,
4133                       S_List_Depend  'Access,
4134                       S_List_Ext     'Access,
4135                       S_List_Files   'Access,
4136                       S_List_Follow  'Access,
4137                       S_List_Mess    'Access,
4138                       S_List_Nostinc 'Access,
4139                       S_List_Object  'Access,
4140                       S_List_Output  'Access,
4141                       S_List_Project 'Access,
4142                       S_List_Search  'Access,
4143                       S_List_Source  'Access,
4144                       S_List_Subdirs 'Access);
4145
4146    ----------------------------
4147    -- Switches for GNAT MAKE --
4148    ----------------------------
4149
4150    S_Make_Actions : aliased constant S := "/ACTIONS="                      &
4151                                             "COMPILE "                     &
4152                                                "-c "                       &
4153                                             "BIND "                        &
4154                                                "-b "                       &
4155                                             "LINK "                        &
4156                                                "-l ";
4157    --        /ACTIONS=(keyword[,...])
4158    --
4159    --  GNAT MAKE default behavior is to check if the sources are up to date,
4160    --  compile those sources that are not up to date, bind the main source,
4161    --  then link the executable.
4162    --
4163    --  With the /ACTIONS qualifier, GNAT MAKE may be restricted to one or
4164    --  two of these three steps:
4165    --
4166    --  o Compile
4167    --  o Bind
4168    --  o Link
4169    --
4170    --
4171    --   You may specify one or more of the following keywords to the /ACTIONS
4172    --   qualifier:
4173    --
4174    --   BIND            Bind only. Can be combined with /ACTIONS=COMPILE
4175    --                   to do compilation and binding, but no linking.
4176    --                   Can be combined with /ACTIONS=LINK to do binding and
4177    --                   linking. When not combined with /ACTIONS=COMPILE,
4178    --                   all the units in the closure of the main program must
4179    --                   have been previously compiled and must be up to date.
4180    --
4181    --   COMPILE         Compile only. Do not perform binding, except when
4182    --                   /ACTIONS=BIND is also specified. Do not perform
4183    --                   linking, except if both /ACTIONS=BIND and /ACTIONS=LINK
4184    --                   are also specified.
4185    --
4186    --   LINK            Link only. Can be combined with /ACTIONS=BIND to do
4187    --                   binding and linking. Linking will not be performed
4188    --                   if combined with /ACTIONS=COMPILE but not with
4189    --                   /ACTIONS=BIND\. When not combined with /ACTIONS=BIND
4190    --                   all the units in the closure of the main program must
4191    --                   have been previously compiled and must be up to date,
4192    --                   and the main program need to have been bound.
4193
4194    S_Make_Add     : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"      &
4195                                             "-aP*";
4196    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
4197    --
4198    --   Add directories to the project search path.
4199
4200    S_Make_All     : aliased constant S := "/ALL_FILES "                    &
4201                                             "-a";
4202    --        /NOALL_FILES (D)
4203    --        /ALL_FILES
4204    --
4205    --   Consider all files in the make process, even the GNAT internal system
4206    --   files (for example, the predefined Ada library files). By default,
4207    --   GNAT MAKE does not check these files (however, if there is an
4208    --   installation problem, it will be caught when GNAT MAKE binds your
4209    --   program). You may have to specify this qualifier if you are working on
4210    --   GNAT itself.  The vast majority of GNAT MAKE users never need to
4211    --   specify this switch.  All GNAT internal files with will be compiled
4212    --   with /STYLE_CHECK=GNAT.
4213
4214    S_Make_Allproj : aliased constant S := "/ALL_PROJECTS "                 &
4215                                             "-U";
4216    --        /NOALL_PROJECTS (D)
4217    --        /ALL_PROJECTS
4218    --
4219    --   Implies /Unique.
4220    --   When used without project files, it is equivalent to /UNIQUE.
4221    --   When used with a project file with no main (neither on the command
4222    --   line nor in the attribute Main) check every source of every project,
4223    --   recompile all sources that are not up to date and rebuild libraries
4224    --   if necessary.
4225
4226    S_Make_Bind    : aliased constant S := "/BINDER_QUALIFIERS=?"           &
4227                                             "-bargs BIND";
4228    --        /BINDER_QUALIFIERS
4229    --
4230    --   Any qualifiers specified after this qualifier other than
4231    --   /COMPILER_QUALIFIERS, /LINKER_QUALIFIERS and /MAKE_QUALIFIERS will be
4232    --   passed to any GNAT BIND commands generated by GNAT MAKE.
4233
4234    S_Make_Bindprj : aliased constant S := "/BND_LNK_FULL_PROJECT "         &
4235                                             "-B";
4236    --        /BND_LNK_FULL_PROJECT
4237    --
4238    --   Bind and link all sources of a project, without any consideration
4239    --   to attribute Main, if there is one. This qualifier need to be
4240    --   used in conjunction with the /PROJECT_FILE= qualifier and cannot
4241    --   be used with a main subprogram on the command line or for
4242    --   a library project file. As the binder is invoked with the option
4243    --   meaning "No Ada main subprogram", the user must ensure that the
4244    --   proper options are specified to the linker. This qualifier is
4245    --   normally used when the main subprogram is in a foreign language
4246    --   such as C.
4247
4248    S_Make_Comp    : aliased constant S := "/COMPILER_QUALIFIERS=?"         &
4249                                             "-cargs COMPILE";
4250    --        /COMPILER_QUALIFIERS
4251    --
4252    --   Any qualifiers specified after this qualifier other than
4253    --   /BINDER_QUALIFIERS, /LINKER_QUALIFIERS and /MAKE_QUALIFIERS will be
4254    --   passed to any GNAT COMPILE commands generated by GNAT MAKE.
4255
4256    S_Make_Cond    : aliased constant S := "/CONDITIONAL_SOURCE_SEARCH=*"   &
4257                                             "-A*";
4258    --        /CONDITIONAL_SOURCE_SEARCH=dir
4259    --
4260    --   Equivalent to "/SOURCE_SEARCH=dir /SKIP_MISSING=dir".
4261
4262    S_Make_Cont    : aliased constant S := "/CONTINUE_ON_ERROR "            &
4263                                             "-k";
4264    --        /NOCONTINUE_ON_ERROR (D)
4265    --        /CONTINUE_ON_ERROR
4266    --
4267    --   Keep going. Continue as much as possible after a compilation error.
4268    --   To ease the programmer's task in case of compilation errors, the list
4269    --   of sources for which the compile fails is given when GNAT MAKE
4270    --   terminates.
4271
4272    S_Make_Current : aliased constant S := "/CURRENT_DIRECTORY "            &
4273                                             "!-I-";
4274    --        /CURRENT_DIRECTORY (D)
4275    --        /NOCURRENT_DIRECTORY
4276    --
4277    --   Look for source, library or object files in the default directory.
4278
4279    S_Make_Dep     : aliased constant S := "/DEPENDENCIES_LIST "            &
4280                                             "-M";
4281    --        /NODEPENDENCIES_LIST (D)
4282    --        /DEPENDENCIES_LIST
4283    --
4284    --   Check if all objects are up to date. If they are, output the object
4285    --   dependences to SYS$OUTPUT in a form that can be directly exploited in
4286    --   a Unix-style Makefile. By default, each source file is prefixed with
4287    --   its (relative or absolute) directory name. This name is whatever you
4288    --   specified in the various /SOURCE_SEARCH and /SEARCH qualifiers.  If
4289    --   you also specify the /QUIET qualifier, only the source file names,
4290    --   without relative paths, are output. If you just specify the
4291    --   /DEPENDENCY_LIST qualifier, dependencies of the GNAT internal system
4292    --   files are omitted.  This is typically what you want. If you also
4293    --   specify the /ALL_FILES qualifier, dependencies of the GNAT internal
4294    --   files are also listed. Note that dependencies of the objects in
4295    --   external Ada libraries (see the /SKIP_MISSING qualifier) are never
4296    --   reported.
4297
4298    S_Make_Dirobj  : aliased constant S := "/DIRECTORY_OBJECTS=@"           &
4299                                             "-D@";
4300    --        /DIRECTORY_OBJECTS=<file>
4301    --
4302    --   Put all object files and .ALI files in <file>.
4303    --   This qualifier is not compatible with /PROJECT_FILE.
4304
4305    S_Make_Disprog : aliased constant S := "/DISPLAY_PROGRESS "             &
4306                                             "-d";
4307    --        /NOPLAY_PROGRESS (D)
4308    --        /DISPLAY_PROGRESS
4309    --
4310    --   Display progress for each source, up to date or not, as a single line
4311    --      completed x out of y (zz%)
4312    --   If the file needs to be compiled this is displayed after the
4313    --   invocation of the compiler. These lines are displayed even in quiet
4314    --   output mode (/QUIET).
4315
4316    S_Make_Doobj   : aliased constant S := "/DO_OBJECT_CHECK "              &
4317                                             "-n";
4318    --        /NODO_OBJECT_CHECK (D)
4319    --        /DO_OBJECT_CHECK
4320    --
4321    --   Don't compile, bind, or link. Output a single command that will
4322    --   recompile an out of date unit, if any. Repeated use of this option,
4323    --   followed by carrying out the indicated compilation, will eventually
4324    --   result in recompiling all required units.
4325    --
4326    --   If any ALI is missing during the process, GNAT MAKE halts and
4327    --   displays an error message.
4328
4329    S_Make_Execut  : aliased constant S := "/EXECUTABLE=@"                  &
4330                                             "-o@";
4331    --        /EXECUTABLE=exec-name
4332    --
4333    --   The name of the final executable program will be 'exec_name'. If this
4334    --   qualifier is omitted the default name for the executable will be the
4335    --   name of the input file with an EXE filetype.  You may prefix
4336    --   'exec_name' with a relative or absolute directory path.
4337
4338    S_Make_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'     &
4339                                             "-X" & '"';
4340    --        /EXTERNAL_REFERENCE="name=val"
4341    --
4342    --   Specifies an external reference to the project manager. Useful only if
4343    --   /PROJECT_FILE is used.
4344    --
4345    --   Example:
4346    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
4347
4348    S_Make_Follow  : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
4349                                             "-eL";
4350    --        /NOFOLLOW_LINKS_FOR_FILES (D)
4351    --        /FOLLOW_LINKS_FOR_FILES
4352    --
4353    --    Follow links when parsing project files
4354
4355    S_Make_Force   : aliased constant S := "/FORCE_COMPILE "                &
4356                                             "-f";
4357    --        /NOFORCE_COMPILE (D)
4358    --        /FORCE_COMPILE
4359    --
4360    --   Force recompilations. Recompile all sources, even though some object
4361    --   files may be up to date, but don't recompile predefined or GNAT
4362    --   internal files unless the /ALL_FILES qualifier is also specified.
4363
4364    S_Make_Full    : aliased constant S := "/FULL_PATH_IN_BRIEF_MESSAGES "  &
4365                                             "-F";
4366    --        /NOFULL_PATH_IN_BRIEF_MESSAGES (D)
4367    --        /FULL_PATH_IN_BRIEF_MESSAGES
4368    --
4369    --   When using project files, if some errors or warnings are detected
4370    --   during parsing and verbose mode is not in effect (no use of qualifier
4371    --   /VERBOSE), then error lines start with the full path name of the
4372    --   project file, rather than its simple file name.
4373
4374    S_Make_Hi_Verb : aliased constant S := "/HIGH_VERBOSITY "               &
4375                                           "-vh";
4376    --        /NOHIGH_VERBOSITY (D)
4377    --        /HIGH_VERBOSITY
4378    --
4379    --   Displays the reason for all recompilations GNAT MAKE decides are
4380    --   necessary, in high verbosity. Equivalent to /VERBOSE.
4381
4382    S_Make_Inplace : aliased constant S := "/IN_PLACE "                     &
4383                                             "-i";
4384    --        /NOIN_PLACE (D)
4385    --        /IN_PLACE
4386    --
4387    --   In normal mode, GNAT MAKE compiles all object files and ALI files
4388    --   into the current directory. If the /IN_PLACE switch is used,
4389    --   then instead object files and ALI files that already exist are over-
4390    --   written in place. This means that once a large project is organized
4391    --   into separate directories in the desired manner, then GNAT MAKE will
4392    --   automatically maintain and update this organization. If no ALI files
4393    --   are found on the Ada object path, the new object and ALI files are
4394    --   created in the directory containing the source being compiled.
4395
4396    S_Make_Index   : aliased constant S := "/SOURCE_INDEX=#"                &
4397                                              "-eI#";
4398    --        /SOURCE_INDEX=nnn
4399    --
4400    --   Specifies the index of the units in the source file
4401    --   By default, source files are mono-unit and there is no index
4402    --   When /SOURCE_INDEX=nnn is specified, only one main may be specified
4403    --   on the command line.
4404
4405    S_Make_Library : aliased constant S := "/LIBRARY_SEARCH=*"              &
4406                                             "-L*";
4407    --        /LIBRARY_SEARCH=(directory[,...])
4408    --
4409    --   Add the specified directories to the list of directories in which the
4410    --   linker will search for libraries.
4411
4412    S_Make_Link    : aliased constant S := "/LINKER_QUALIFIERS=?"           &
4413                                             "-largs LINK";
4414    --        /LINKER_QUALIFIERS
4415    --
4416    --   Any qualifiers specified after this qualifier other than
4417    --   /COMPILER_QUALIFIERS, /BINDER_QUALIFIERS and /MAKE_QUALIFIERS will be
4418    --   passed to any GNAT LINK commands generated by GNAT LINK.
4419
4420    S_Make_Low_Verb : aliased constant S := "/LOW_VERBOSITY "               &
4421                                            "-vl";
4422    --        /NOLOW_VERBOSITY (D)
4423    --        /LOW_VERBOSITY
4424    --
4425    --   Displays the reason for all recompilations GNAT MAKE decides are
4426    --   necessary, in low verbosity, that is with less output than
4427    --   /MEDIUM_VERBOSITY, /HIGH_VERBOSITY or /VERBOSE.
4428
4429    S_Make_Make    : aliased constant S := "/MAKE_QUALIFIERS=?"             &
4430                                             "-margs MAKE";
4431    --        /MAKE_QUALIFIERS
4432    --
4433    --   Any qualifiers specified after this qualifier other than
4434    --   /COMPILER_QUALIFIERS, /BINDER_QUALIFIERS and /LINKER_QUALIFIERS
4435    --   are for the benefit of GNAT MAKE itself.
4436
4437    S_Make_Mapping : aliased constant S := "/MAPPING "                      &
4438                                             "-C";
4439    --        /NOMAPPING (D)
4440    --        /MAPPING
4441    --
4442    --   Use a mapping file.  A mapping file is a way to communicate to the
4443    --   compiler two mappings: from unit names to file names (without any
4444    --   directory information) and from file names to path names (with full
4445    --   directory information). These mappings are used by the compiler to
4446    --   short-circuit the path search. When GNAT MAKE is invoked with this
4447    --   qualifier, it will create a mapping file, initially populated by the
4448    --   project manager, if /PROJECT_File= is used, otherwise initially empty.
4449    --   Each invocation of the compiler will add the newly accessed sources to
4450    --   the mapping file. This will improve the source search during the next
4451    --   invocations of the compiler
4452
4453    S_Make_Med_Verb : aliased constant S := "/MEDIUM_VERBOSITY "            &
4454                                            "-vm";
4455    --        /NOMEDIUM_VERBOSITY (D)
4456    --        /MEDIUM_VERBOSITY
4457    --
4458    --   Displays the reason for all recompilations GNAT MAKE decides are
4459    --   necessary, in medium verbosity, that is with potentially less output
4460    --   than /HIGH_VERBOSITY or /VERBOSE.
4461
4462    S_Make_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="        &
4463                                             "DEFAULT "                     &
4464                                                "-vP0 "                     &
4465                                             "MEDIUM "                      &
4466                                                "-vP1 "                     &
4467                                             "HIGH "                        &
4468                                                "-vP2";
4469    --        /MESSAGES_PROJECT_FILE[=messages-option]
4470    --
4471    --   Specifies the "verbosity" of the parsing of project files.
4472    --   messages-option may be one of the following:
4473    --
4474    --      DEFAULT (D)  No messages are output if there is no error or warning.
4475    --
4476    --      MEDIUM       A small number of messages are output.
4477    --
4478    --      HIGH         A great number of messages are output, most of them not
4479    --                   being useful for the user.
4480
4481    S_Make_Minimal : aliased constant S := "/MINIMAL_RECOMPILATION "        &
4482                                             "-m";
4483    --        /NOMINIMAL_RECOMPILATION (D)
4484    --        /MINIMAL_RECOMPILATION
4485    --
4486    --   Specifies that the minimum necessary amount of recompilation
4487    --   be performed. In this mode GNAT MAKE ignores time stamp differences
4488    --   when the only modifications to a source file consist in
4489    --   adding/removing comments, empty lines, spaces or tabs.
4490
4491    S_Make_Missing : aliased constant S := "/CREATE_MISSING_DIRS "          &
4492                                             "-p";
4493    --        /NOCREATE_MISSING_DIRS (D)
4494    --        /CREATE_MISSING_DIRS
4495    --
4496    --   When an object directory, a library directory or an exec directory
4497    --   in missing, attempt to create the directory.
4498
4499    S_Make_Nolink  : aliased constant S := "/NOLINK "                       &
4500                                             "-c";
4501    --        /NOLINK
4502    --
4503    --   Compile only. Do not perform binding and linking. If the root unit is
4504    --   not a main unit, this is the default.  Otherwise GNAT MAKE will
4505    --   attempt binding and linking unless all objects are up to date and the
4506    --   executable is more recent than the objects.
4507    --   This is equivalent to /ACTIONS=COMPILE
4508
4509    S_Make_Nomain  : aliased constant S := "/NOMAIN "                       &
4510                                             "-z";
4511    --        /NOMAIN
4512    --
4513    --   No main subprogram. Bind and link the program even if the unit name
4514    --   given on the command line is a package name. The resulting executable
4515    --   will execute the elaboration routines of the package and its closure,
4516    --   then the finalization routines.
4517
4518    S_Make_Nonpro  : aliased constant S := "/NON_PROJECT_UNIT_COMPILATION " &
4519                                             "-x";
4520    --        /NON_PROJECT_UNIT_COMPILATION
4521    --
4522    --    Normally, when using project files, a unit that is not part of any
4523    --    project file, cannot be compile. These units may be compile, when
4524    --    needed, if this qualifier is specified.
4525
4526    S_Make_Nostinc : aliased constant S := "/NOSTD_INCLUDES "               &
4527                                             "-nostdinc";
4528    --        /NOSTD_INCLUDES
4529    --
4530    --    Do not look for sources the in the system default directory.
4531
4532    S_Make_Nostlib : aliased constant S := "/NOSTD_LIBRARIES "              &
4533                                             "-nostdlib";
4534    --        /NOSTD_LIBRARIES
4535    --
4536    --    Do not look for library files in the system default directory.
4537
4538    S_Make_Object  : aliased constant S := "/OBJECT_SEARCH=*"               &
4539                                             "-aO*";
4540    --        /OBJECT_SEARCH=(directory[,...])
4541    --
4542    --   When looking for library and object files look also in the specified
4543    --   directories.
4544
4545    S_Make_Proc    : aliased constant S := "/PROCESSES=#"                   &
4546                                             "-j#";
4547    --        /NOPROCESSES (D)
4548    --        /PROCESSES=NNN
4549    --
4550    --   Use NNN processes to carry out the (re)compilations. If you have a
4551    --   multiprocessor machine, compilations will occur in parallel.  In the
4552    --   event of compilation errors, messages from various compilations might
4553    --   get interspersed (but GNAT MAKE will give you the full ordered list of
4554    --   failing compiles at the end). This can at times be annoying.  To get a
4555    --   clean list of error messages don't use this qualifier.
4556
4557    S_Make_Nojobs  : aliased constant S := "/NOPROCESSES "                  &
4558                                             "-j1";
4559    --  NODOC (see /PROCESS)
4560
4561    S_Make_Project : aliased constant S := "/PROJECT_FILE=<"                &
4562                                             "-P>";
4563    --        /PROJECT_FILE=filename
4564    --
4565    --   Specifies the main project file to be used. The project files rooted
4566    --   at the main project file will be parsed before any other processing to
4567    --   set the building environment.
4568
4569    S_Make_Quiet   : aliased constant S := "/QUIET "                        &
4570                                             "-q";
4571    --        /NOQUIET (D)
4572    --        /QUIET
4573    --
4574    --   When this qualifiers is specified, the commands carried out by GNAT
4575    --   MAKE are not displayed.
4576
4577    S_Make_Reason  : aliased constant S := "/REASONS "                      &
4578                                             "-v";
4579    --        /NOREASONS (D)
4580    --        /REASONS
4581    --
4582    --   Displays the reason for all recompilations GNAT MAKE decides are
4583    --   necessary.
4584
4585    S_Make_RTS     : aliased constant S := "/RUNTIME_SYSTEM=|"              &
4586                                             "--RTS=|";
4587    --        /RUNTIME_SYSTEM=xxx
4588    --
4589    --    Build against an alternate runtime system named xxx or RTS-xxx.
4590
4591    S_Make_Search  : aliased constant S := "/SEARCH=*"                      &
4592                                             "-I*";
4593    --        /SEARCH=(directory[,...])
4594    --
4595    --   Search the specified directories for both source and object files.
4596
4597    S_Make_Skip    : aliased constant S := "/SKIP_MISSING=*"                &
4598                                             "-aL*";
4599    --        /SKIP_MISSING=(directory[,...])
4600    --
4601    --   Skip missing library sources if ALI in 'directory'.
4602
4603    S_Make_Source  : aliased constant S := "/SOURCE_SEARCH=*"               &
4604                                             "-aI*";
4605    --        /SOURCE_SEARCH=(directory[,...])
4606    --
4607    --   When looking for source files also look in the specified directories.
4608
4609    S_Make_Stand   : aliased constant S := "/STANDARD_OUTPUT_FOR_COMMANDS " &
4610                                             "-eS";
4611    --        /NOSTANDARD_OUTPUT_FOR_COMMANDS (D)
4612    --        /STANDARD_OUTPUT_FOR_COMMANDS
4613    --
4614    --   Output the commands for the compiler, the binder and the linker
4615    --   on SYS$OUTPUT, instead of SYS$ERROR.
4616
4617    S_Make_Subdirs : aliased constant S := "/SUBDIRS=<"                     &
4618                                              "--subdirs=>";
4619    --        /SUBDIRS=dir
4620    --
4621    --   The actual directories (object, exec, library, ...) are subdirectories
4622    --   of the directory specified in the project file. If the subdirectory
4623    --   does not exist, it is created automatically.
4624
4625    S_Make_Switch  : aliased constant S := "/SWITCH_CHECK "                 &
4626                                             "-s";
4627    --        /NOSWITCH_CHECK (D)
4628    --        /SWITCH_CHECK
4629    --
4630    --   Recompile if compiler switches have changed since last compilation.
4631    --   All compiler switches but -I and -o are taken into account in the
4632    --   following way: orders between different "first letter" switches are
4633    --   ignored, but orders between same switches are taken into account.
4634    --   For example, -O -O2 is different than -O2 -O, but -g -O is equivalent
4635    --   to -O -g.
4636
4637    S_Make_Unique  : aliased constant S := "/UNIQUE "                       &
4638                                             "-u";
4639    --        /NOUNIQUE (D)
4640    --        /UNIQUE
4641    --
4642    --  Recompile at most the main file. It implies /ACTIONS=COMPILE.
4643    --  Combined with /FORCE_COMPILE, it is equivalent to calling the compiler
4644    --  directly.
4645
4646    S_Make_Use_Map : aliased constant S := "/USE_MAPPING_File=@"            &
4647                                             "-C=@";
4648    --        /USE_MAPPING_FILE=file_name
4649    --
4650    --   Use a specific mapping file. The file 'file_name', specified as a path
4651    --   name (absolute or relative) by this qualifier, should already exist,
4652    --   otherwise the qualifier is ineffective. The specified mapping file
4653    --   will be communicated to the compiler. This switch is not compatible
4654    --   with a project file (/PROJECT_FILE=) or with multiple compiling
4655    --   processes (/PROCESSES=nnn, when nnn is greater than 1).
4656
4657    S_Make_Verbose : aliased constant S := "/VERBOSE "                      &
4658                                             "-v";
4659    --        /NOVERBOSE (D)
4660    --        /VERBOSE
4661    --
4662    --   Displays the reason for all recompilations GNAT MAKE decides are
4663    --   necessary.
4664
4665    Make_Switches : aliased constant Switches :=
4666                      (S_Make_Add     'Access,
4667                       S_Make_Actions 'Access,
4668                       S_Make_All     'Access,
4669                       S_Make_Allproj 'Access,
4670                       S_Make_Bind    'Access,
4671                       S_Make_Comp    'Access,
4672                       S_Make_Cond    'Access,
4673                       S_Make_Cont    'Access,
4674                       S_Make_Current 'Access,
4675                       S_Make_Dep     'Access,
4676                       S_Make_Dirobj  'Access,
4677                       S_Make_Disprog 'Access,
4678                       S_Make_Doobj   'Access,
4679                       S_Make_Execut  'Access,
4680                       S_Make_Ext     'Access,
4681                       S_Make_Follow  'Access,
4682                       S_Make_Force   'Access,
4683                       S_Make_Full    'Access,
4684                       S_Make_Hi_Verb 'Access,
4685                       S_Make_Inplace 'Access,
4686                       S_Make_Index   'Access,
4687                       S_Make_Library 'Access,
4688                       S_Make_Link    'Access,
4689                       S_Make_Low_Verb'Access,
4690                       S_Make_Make    'Access,
4691                       S_Make_Mapping 'Access,
4692                       S_Make_Med_Verb'Access,
4693                       S_Make_Mess    'Access,
4694                       S_Make_Minimal 'Access,
4695                       S_Make_Missing 'Access,
4696                       S_Make_Nolink  'Access,
4697                       S_Make_Nomain  'Access,
4698                       S_Make_Nonpro  'Access,
4699                       S_Make_Nostinc 'Access,
4700                       S_Make_Nostlib 'Access,
4701                       S_Make_Object  'Access,
4702                       S_Make_Proc    'Access,
4703                       S_Make_Nojobs  'Access,
4704                       S_Make_Project 'Access,
4705                       S_Make_Quiet   'Access,
4706                       S_Make_Reason  'Access,
4707                       S_Make_RTS     'Access,
4708                       S_Make_Search  'Access,
4709                       S_Make_Skip    'Access,
4710                       S_Make_Source  'Access,
4711                       S_Make_Stand   'Access,
4712                       S_Make_Subdirs 'Access,
4713                       S_Make_Switch  'Access,
4714                       S_Make_Unique  'Access,
4715                       S_Make_Use_Map 'Access,
4716                       S_Make_Verbose 'Access);
4717
4718    ------------------------------
4719    -- Switches for GNAT METRIC --
4720    ------------------------------
4721
4722    S_Metric_Add     : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"    &
4723                                               "-aP*";
4724    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
4725    --
4726    --   Add directories to the project search path.
4727
4728    S_Metric_All_Prjs : aliased constant S := "/ALL_PROJECTS "              &
4729                                                "-U";
4730    --        /NOALL_PROJECTS (D)
4731    --        /ALL_PROJECTS
4732    --   When GNAT METRIC is used with a Project File and no source is
4733    --   specified, the underlying tool gnatmetric is called for all the
4734    --   sources of all the Project Files in the project tree.
4735
4736    S_Metric_Debug    : aliased constant S := "/DEBUG_OUTPUT "              &
4737                                              "-dv";
4738    --      /DEBUG_OUTPUT
4739    --
4740    --   Generate the debug information
4741
4742    S_Metric_Direct   : aliased constant S := "/DIRECTORY=@"                &
4743                                              "-d=@";
4744    --      /DIRECTORY=pathname
4745    --
4746    --   Put the files with detailed metric information into the specified
4747    --   directory
4748
4749    S_Metric_Element : aliased constant S := "/ELEMENT_METRICS="            &
4750                                              "ALL "                        &
4751                                               "!-ed,!-es,!-enl,!-eps,"     &
4752                                               "!-eas,!-ept,!-eat,!-enu,"   &
4753                                               "!-ec "                      &
4754                                              "DECLARATION_TOTAL "          &
4755                                               "-ed "                       &
4756                                              "STATEMENT_TOTAL "            &
4757                                               "-es "                       &
4758                                              "LOOP_NESTING_MAX "           &
4759                                               "-enl "                      &
4760                                              "INT_SUBPROGRAMS "            &
4761                                               "-eps "                      &
4762                                              "SUBPROGRAMS_ALL "            &
4763                                               "-eas "                      &
4764                                              "INT_TYPES "                  &
4765                                               "-ept "                      &
4766                                              "TYPES_ALL "                  &
4767                                               "-eat "                      &
4768                                              "PROGRAM_NESTING_MAX "        &
4769                                               "-enu "                      &
4770                                              "CONSTRUCT_NESTING_MAX "      &
4771                                               "-ec";
4772    --  NODOC  (see /SYNTAX_METRICS)
4773
4774    S_Metric_Syntax : aliased constant S := "/SYNTAX_METRICS="              &
4775                                              "ALL_ON "                     &
4776                                              "--syntax-all "               &
4777                                              "ALL_OFF "                    &
4778                                              "--no-syntax-all "            &
4779                                              "DECLARATIONS_ON "            &
4780                                              "--declarations "             &
4781                                              "DECLARATIONS_OFF "           &
4782                                              "--no-declarations "          &
4783                                              "STATEMENTS_ON "              &
4784                                              "--statements "               &
4785                                              "STATEMENTS_OFF "             &
4786                                              "--no-statements "            &
4787                                              "PUBLIC_SUBPROGRAMS_ON "      &
4788                                              "--public-subprograms "       &
4789                                              "PUBLIC_SUBPROGRAMS_OFF "     &
4790                                              "--no-public-subprograms "    &
4791                                              "ALL_SUBPROGRAMS_ON "         &
4792                                              "--all-subprograms "          &
4793                                              "ALL_SUBPROGRAMS_OFF "        &
4794                                              "--no-all-subprograms "       &
4795                                              "PUBLIC_TYPES_ON "            &
4796                                              "--public-types "             &
4797                                              "PUBLIC_TYPES_OFF "           &
4798                                              "--no-public-types "          &
4799                                              "ALL_TYPES_ON "               &
4800                                              "--all-types "                &
4801                                              "ALL_TYPES_OFF "              &
4802                                              "--no-all-types "             &
4803                                              "UNIT_NESTING_ON "            &
4804                                              "--unit-nesting "             &
4805                                              "UNIT_NESTING_OFF "           &
4806                                              "--no-unit-nesting "          &
4807                                              "CONSTRUCT_NESTING_ON "       &
4808                                              "--construct-nesting "        &
4809                                              "CONSTRUCT_NESTING_OFF "      &
4810                                              "--no-construct-nesting";
4811    --       /SYNTAX_METRICS(option, option ...)
4812    --
4813    --   Specifies the syntax element metrics to be computed (if at least one
4814    --   positive syntax element metric, line metric, complexity or coupling
4815    --   metric is specified then only explicitly specified specified syntax
4816    --   element metrics are computed and reported)
4817    --
4818    --   option may be one of the following:
4819    --
4820    --     ALL_ON (D)               All the syntax element metrics are computed
4821    --     ALL_OFF                  None of syntax element metrics is computed
4822    --     DECLARATIONS_ON          Compute the total number of declarations
4823    --     DECLARATIONS_OFF         Do not compute the total number of
4824    --                              declarations
4825    --     STATEMENTS_ON            Compute the total number of statements
4826    --     STATEMENTS_OFF           Do not compute the total number of
4827    --                              statements
4828    --     PUBLIC_SUBPROGRAMS_ON    Compute the number of public subprograms
4829    --     PUBLIC_SUBPROGRAMS_OFF   Do not compute the number of public
4830    --                              subprograms
4831    --     ALL_SUBPROGRAMS_ON       Compute the number of all the subprograms
4832    --     ALL_SUBPROGRAMS_OFF      Do not compute the number of all the
4833    --                              subprograms
4834    --     PUBLIC_TYPES_ON          Compute the number of public types
4835    --     PUBLIC_TYPES_OFF         Do not compute the number of public types
4836    --     ALL_TYPES_ON             Compute the number of all the types
4837    --     ALL_TYPES_OFF            Do not compute the number of all the types
4838    --     UNIT_NESTING_ON          Compute the maximal program unit nesting
4839    --                              level
4840    --     UNIT_NESTING_OFF         Do not compute the maximal program unit
4841    --                              nesting level
4842    --     CONSTRUCT_NESTING_ON     Compute the maximal construct nesting level
4843    --     CONSTRUCT_NESTING_OFF    Do not compute the maximal construct nesting
4844    --                              level
4845    --
4846    --   All combinations of syntax element metrics options are allowed.
4847
4848    S_Metric_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'   &
4849                                              "-X" & '"';
4850    --       /EXTERNAL_REFERENCE="name=val"
4851    --
4852    --   Specifies an external reference to the project manager. Useful only if
4853    --   /PROJECT_FILE is used.
4854    --
4855    --   Example:
4856    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
4857
4858    S_Metric_Files   : aliased constant S := "/FILES=@"                     &
4859                                              "-files=@";
4860    --      /FILES=filename
4861    --
4862    --   Take as arguments the files that are listed in the specified
4863    --   text file.
4864
4865    S_Metric_Format  : aliased constant S := "/FORMAT_OUTPUT="              &
4866                                              "DEFAULT "                    &
4867                                               "!-x,!-nt,!-sfn "            &
4868                                              "XML "                        &
4869                                               "-x "                        &
4870                                              "NO_TEXT "                    &
4871                                               "-nt "                       &
4872                                              "SHORT_SOURCE_FILE_NAME "     &
4873                                               "-sfn";
4874    --       /FORMAT_OUTPUT=(option, option ...)
4875    --
4876    --   Specifies the details of the tool output
4877    --
4878    --   option may be one of the following:
4879    --
4880    --     DEFAULT (D)             Generate the text output only, use full
4881    --                             argument source names in global information
4882    --     XML                     Generate the output in XML format
4883    --     NO_TEXT                 Do not generate the text output (implies XML)
4884    --     SHORT_SOURCE_FILE_NAME  Use short argument source names in output
4885
4886    S_Metric_Globout : aliased constant S := "/GLOBAL_OUTPUT=@"             &
4887                                              "-og@";
4888    --        /GLOBAL_OUTPUT=filename
4889    --
4890    --   Put the textual global metric information into the specified file
4891
4892    S_Metric_Line     : aliased constant S := "/LINE_METRICS="              &
4893                                                 "ALL "                     &
4894                                                  "!-la,!-lcode,!-lcomm,"   &
4895                                                  "!-leol,!-lb "            &
4896                                                 "LINES_ALL "               &
4897                                                  "-la "                    &
4898                                                 "CODE_LINES "              &
4899                                                  "-lcode "                 &
4900                                                 "COMENT_LINES "            &
4901                                                  "-lcomm "                 &
4902                                                 "MIXED_CODE_COMMENTS "     &
4903                                                  "-leol "                  &
4904                                                 "COMMENT_PERCENTAGE "      &
4905                                                  "-lratio "                &
4906                                                 "BLANK_LINES "             &
4907                                                  "-lb "                    &
4908                                                 "AVERAGE_LINES_IN_BODIES " &
4909                                                  "-lav ";
4910    --  NODOC  (see /LINE_COUNT_METRICS)
4911
4912    S_Metric_Lines : aliased constant S := "/LINE_COUNT_METRICS="           &
4913                                            "ALL_ON "                       &
4914                                            "--lines-all "                  &
4915                                            "ALL_OFF "                      &
4916                                            "--no-lines-all "               &
4917                                            "ALL_LINES_ON "                 &
4918                                            "--lines "                      &
4919                                            "ALL_LINES_OFF "                &
4920                                            "--no-lines "                   &
4921                                            "CODE_LINES_ON "                &
4922                                            "--lines-code "                 &
4923                                            "CODE_LINES_OFF "               &
4924                                            "--no-lines-code "              &
4925                                            "COMMENT_LINES_ON "             &
4926                                            "--lines-comment "              &
4927                                            "COMMENT_LINES_OFF "            &
4928                                            "--no-lines-comment "           &
4929                                            "CODE_COMMENT_LINES_ON "        &
4930                                            "--lines-eol-comment "          &
4931                                            "CODE_COMMENT_LINES_OFF "       &
4932                                            "--no-lines-eol-comment "       &
4933                                            "COMMENT_PERCENTAGE_ON "        &
4934                                            "--lines-ratio "                &
4935                                            "COMMENT_PERCENTAGE_OFF "       &
4936                                            "--no-lines-ratio "             &
4937                                            "BLANK_LINES_ON "               &
4938                                            "--lines-blank "                &
4939                                            "BLANK_LINES_OFF "              &
4940                                            "--no-lines-blank "             &
4941                                            "AVERAGE_BODY_LINES_ON "        &
4942                                            "--lines-average "              &
4943                                            "AVERAGE_BODY_LINES_OFF "       &
4944                                            "--no-lines-average";
4945    --      /LINE_COUNT_METRICS=(option, option ...)
4946
4947    --   Specifies the line metrics to be computed (if at least one positive
4948    --   syntax element metric, line metric, complexity or coupling metric is
4949    --   specified then only explicitly specified specified line metrics are
4950    --   computed and reported)
4951    --
4952    --   option may be one of the following:
4953    --
4954    --     ALL_ON (D)               All the line metrics are computed
4955    --     ALL_OFF                  None of line metrics is computed
4956    --     ALL_LINES_ON             All lines are computed
4957    --     ALL_LINES_OFF            All lines are not computed
4958    --     CODE_LINES_ON            Lines with Ada code are computed
4959    --     CODE_LINES_OFF           Lines with Ada code are not computed
4960    --     COMMENT_LINES_ON         Comment lines are computed
4961    --     COMMENT_LINES_OFF        Comment lines are not computed
4962    --     COMMENT_PERCENTAGE_ON    Ratio between comment lines and all the
4963    --                              lines containing comments and program code
4964    --                              is computed
4965    --     COMMENT_PERCENTAGE_OFF    Ratio between comment lines and all the
4966    --                              lines containing comments and program code
4967    --                              is not computed
4968    --     BLANK_LINES_ON           Blank lines are computed
4969    --     BLANK_LINES_OFF          Blank lines are not computed
4970    --     AVERAGE_BODY_LINES_ON    Average number of code lines in subprogram,
4971    --                              task and entry bodies and statement
4972    --                              sequences of package bodies is computed
4973    --     AVERAGE_BODY_LINES_OFF   Average number of code lines in subprogram,
4974    --                              task and entry bodies and statement
4975    --                              sequences of package bodies is not computed
4976    --
4977    --   All combinations of line metrics options are allowed.
4978
4979    S_Metric_Complexity : aliased constant S := "/COMPLEXITY_METRICS="      &
4980                                                "ALL_ON "                   &
4981                                                "--complexity-all "         &
4982                                               "ALL_OFF "                   &
4983                                               "--no-complexity-all "       &
4984                                               "CYCLOMATIC_ON "             &
4985                                               "--complexity-cyclomatic "   &
4986                                               "CYCLOMATIC_OFF "            &
4987                                               "--no-complexity-cyclomatic "&
4988                                               "ESSENTIAL_ON "              &
4989                                               "--complexity-essential "    &
4990                                               "ESSENTIAL_OFF "             &
4991                                               "--no-complexity-essential " &
4992                                               "LOOP_NESTING_ON "           &
4993                                               "--loop-nesting "            &
4994                                               "LOOP_NESTING_OFF "          &
4995                                               "--no-loop-nesting "         &
4996                                               "AVERAGE_COMPLEXITY_ON "     &
4997                                               "--complexity-average "      &
4998                                               "AVERAGE_COMPLEXITY_OFF "    &
4999                                               "--no-complexity-average";
5000    --      /COMPLEXITY_METRICS=(option, option ...)
5001
5002    --   Specifies the complexity metrics to be computed (if at least one
5003    --   positive syntax element metric, line metric, complexity or coupling
5004    --   metric is specified then only explicitly specified specified complexity
5005    --   metrics are computed and reported)
5006    --
5007    --   option may be one of the following:
5008    --
5009    --     ALL_ON (D)               All the complexity metrics are computed
5010    --     ALL_OFF                  None of complexity metrics is computed
5011    --     CYCLOMATIC_ON            Compute the McCabe Cyclomatic Complexity
5012    --     CYCLOMATIC_OFF           Do not compute the McCabe Cyclomatic
5013    --                              Complexity
5014    --     ESSENTIAL_ON             Compute the Essential Complexity
5015    --     ESSENTIAL_OFF            Do not compute the Essential Complexity
5016    --     LOOP_NESTIMG_ON          Compute the maximal loop nesting
5017    --     LOOP_NESTIMG_OFF         Do not compute the maximal loop nesting
5018    --     AVERAGE_COMPLEXITY_ON    Compute the average complexity for
5019    --                              executable bodies
5020    --     AVERAGE_COMPLEXITY_OFF   Do not compute the average complexity for
5021    --                              executable bodies
5022    --
5023    --   All combinations of line metrics options are allowed.
5024
5025    S_Metric_Coupling : aliased constant S := "/COUPLING_METRICS="             &
5026                                            "ALL_ON "                          &
5027                                            "--coupling-all "                  &
5028                                            "ALL_OFF "                         &
5029                                            "--no-coupling-all "               &
5030                                            "PACKAGE_EFFERENT_ON "             &
5031                                            "--package-efferent-coupling "     &
5032                                            "PACKAGE_EFFERENT_OFF "            &
5033                                            "--no-package-efferent-coupling "  &
5034                                            "PACKAGE_AFFERENT_ON "             &
5035                                            "--package-afferent-coupling "     &
5036                                            "PACKAGE_AFFERENT_OFF "            &
5037                                            "--no-package-afferent-coupling "  &
5038                                            "CATEGORY_EFFERENT_ON "            &
5039                                            "--category-efferent-coupling "    &
5040                                            "CATEGORY_EFFERENT_OFF "           &
5041                                            "--no-category-efferent-coupling " &
5042                                            "CATEGORY_AFFERENT_ON "            &
5043                                            "--category-afferent-coupling "    &
5044                                            "CATEGORY_AFFERENT_OFF "           &
5045                                            "--no-category-afferent-coupling";
5046
5047    --      /COUPLING_METRICS=(option, option ...)
5048
5049    --   Specifies the coupling metrics to be computed.
5050    --
5051    --   option may be one of the following:
5052    --
5053    --     ALL_ON                   All the coupling metrics are computed
5054    --     ALL_OFF (D)              None of coupling metrics is computed
5055    --     PACKAGE_EFFERENT_ON      Compute package efferent coupling
5056    --     PACKAGE_EFFERENT_OFF     Do not compute package efferent coupling
5057    --     PACKAGE_AFFERENT_ON      Compute package afferent coupling
5058    --     PACKAGE_AFFERENT_OFF     Do not compute package afferent coupling
5059    --     CATEGORY_EFFERENT_ON     Compute category efferent coupling
5060    --     CATEGORY_EFFERENT_OFF    Do not compute category efferent coupling
5061    --     CATEGORY_AFFERENT_ON     Compute category afferent coupling
5062    --     CATEGORY_AFFERENT_OFF    Do not compute category afferent coupling
5063    --
5064    --   All combinations of coupling metrics options are allowed.
5065
5066    S_Metric_Follow : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "      &
5067                                              "-eL";
5068    --        /NOFOLLOW_LINKS_FOR_FILES (D)
5069    --        /FOLLOW_LINKS_FOR_FILES
5070    --
5071    --    Follow links when parsing project files
5072
5073    S_Metric_No_Local : aliased constant S := "/NO_LOCAL_DETAILS "          &
5074                                              "-nolocal";
5075    --        /LOCAL_DETAILS (D)
5076    --        /NO_LOCAL_DETAILS
5077    --
5078    --   Do not compute the detailed metrics for local program units.
5079
5080    S_Metric_No_Exits_As_Gotos : aliased constant S := "/NO_EXITS_AS_GOTOS " &
5081                                                       "-ne";
5082    --        /EXITS_AS_GOTOS (D)
5083    --        /NO_EXITS_AS_GOTOS
5084    --
5085    --   Do not count EXIT statements as GOTOs when computing the Essential
5086    --   Complexity.
5087
5088    S_Metric_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="      &
5089                                              "DEFAULT "                    &
5090                                                 "-vP0 "                    &
5091                                              "MEDIUM "                     &
5092                                                 "-vP1 "                    &
5093                                              "HIGH "                       &
5094                                                 "-vP2";
5095    --        /MESSAGES_PROJECT_FILE[=messages-option]
5096    --
5097    --   Specifies the "verbosity" of the parsing of project files.
5098    --   messages-option may be one of the following:
5099    --
5100    --      DEFAULT (D)  No messages are output if there is no error or warning.
5101    --
5102    --      MEDIUM       A small number of messages are output.
5103    --
5104    --      HIGH         A great number of messages are output, most of them not
5105    --                   being useful for the user.
5106
5107    S_Metric_Project : aliased constant S := "/PROJECT_FILE=<"              &
5108                                              "-P>";
5109    --        /PROJECT_FILE=filename
5110    --
5111    --   Specifies the main project file to be used. The project files rooted
5112    --   at the main project file will be parsed before the invocation of the
5113    --   binder.
5114
5115    S_Metric_Quiet    : aliased constant S := "/QUIET "                     &
5116                                              "-q";
5117    --        /NOQUIET (D)
5118    --        /QUIET
5119    --
5120    --   Quiet mode: by default GNAT METRIC outputs to the standard error stream
5121    --   the number of program units left to be processed. This option turns
5122    --   this trace off.
5123
5124    S_Metric_Subdirs : aliased constant S := "/SUBDIRS=<"                   &
5125                                                "--subdirs=>";
5126    --        /SUBDIRS=dir
5127    --
5128    --   The actual directories (object, exec, library, ...) are subdirectories
5129    --   of the directory specified in the project file. If the subdirectory
5130    --   does not exist, it is created automatically.
5131
5132    S_Metric_Suffix  : aliased constant S := "/SUFFIX_DETAILS=" & '"'       &
5133                                              "-o" & '"';
5134    --        /SUFFIX_DETAILS=suffix
5135    --
5136    --   Use the given suffix as the suffix for the name of the file to place
5137    --   the detailed metrics into.
5138
5139    S_Metric_Suppress : aliased constant S :=  "/SUPPRESS="                 &
5140                                                "NOTHING "                  &
5141                                                 "!-nocc,!-noec,!-nonl,"    &
5142                                                 "!-ne,!-nolocal "          &
5143                                                "CYCLOMATIC_COMPLEXITY "    &
5144                                                 "-nocc "                   &
5145                                                "ESSENTIAL_COMPLEXITY "     &
5146                                                 "-noec "                   &
5147                                                "MAXIMAL_LOOP_NESTING "     &
5148                                                 "-nonl "                   &
5149                                                "EXITS_AS_GOTOS "           &
5150                                                 "-ne "                     &
5151                                                "LOCAL_DETAILS "            &
5152                                                 "-nolocal ";
5153    --  NODOC  (see /COMPLEXITY_METRICS /NO_LOCAL_DETAILS /NO_EXITS_AS_GOTOS)
5154
5155    S_Metric_Verbose  : aliased constant S := "/VERBOSE "                   &
5156                                              "-v";
5157    --        /NOVERBOSE (D)
5158    --        /VERBOSE
5159    --
5160    --   Verbose mode.
5161
5162    S_Metric_XMLout  : aliased constant S := "/XML_OUTPUT=@"                &
5163                                              "-ox@";
5164    --        /XML_OUTPUT=filename
5165    --
5166    --   Place the XML output into the specified file
5167
5168    Metric_Switches : aliased constant Switches :=
5169                        (S_Metric_Add              'Access,
5170                         S_Metric_All_Prjs         'Access,
5171                         S_Metric_Complexity       'Access,
5172                         S_Metric_Coupling         'Access,
5173                         S_Metric_Debug            'Access,
5174                         S_Metric_Direct           'Access,
5175                         S_Metric_Element          'Access,
5176                         S_Metric_Ext              'Access,
5177                         S_Metric_Files            'Access,
5178                         S_Metric_Follow           'Access,
5179                         S_Metric_Format           'Access,
5180                         S_Metric_Globout          'Access,
5181                         S_Metric_Line             'Access,
5182                         S_Metric_Lines            'Access,
5183                         S_Metric_Mess             'Access,
5184                         S_Metric_No_Exits_As_Gotos'Access,
5185                         S_Metric_No_Local         'Access,
5186                         S_Metric_Project          'Access,
5187                         S_Metric_Quiet            'Access,
5188                         S_Metric_Suffix           'Access,
5189                         S_Metric_Subdirs          'Access,
5190                         S_Metric_Syntax           'Access,
5191                         S_Metric_Suppress         'Access,
5192                         S_Metric_Verbose          'Access,
5193                         S_Metric_XMLout           'Access);
5194
5195    ----------------------------
5196    -- Switches for GNAT NAME --
5197    ----------------------------
5198
5199    S_Name_Conf    : aliased constant S := "/CONFIG_FILE=<"                 &
5200                                             "-c>";
5201    --        /CONFIG_FILE=path_name
5202    --
5203    --   Create a configuration pragmas file 'path_name' (instead of the default
5204    --   'gnat.adc'). 'path_name' may include directory information. 'path_name'
5205    --   must be writable. There may be only one qualifier /CONFIG_FILE.
5206    --   This qualifier is not compatible with qualifier /PROJECT_FILE.
5207
5208    S_Name_Dirs    : aliased constant S := "/SOURCE_DIRS=*"                 &
5209                                             "-d*";
5210    --        /SOURCE_DIRS=(directory, ...)
5211    --
5212    --   Look for source files in the specified directories. When this qualifier
5213    --   is specified, the current working directory will not be searched for
5214    --   source files, unless it is explicitly specified with a qualifier
5215    --   /SOURCE_DIRS or /DIRS_FILE. Several qualifiers /SOURCE_DIRS may be
5216    --   specified. If a directory is specified as a relative path, it is
5217    --   relative to the directory of the configuration pragmas file specified
5218    --   with qualifier /CONFIG_FILE, or to the directory of the project file
5219    --   specified with qualifier /PROJECT_FILE or, if neither qualifier
5220    --   /CONFIG_FILE nor qualifier /PROJECT_FILE are specified, it is relative
5221    --   to the current working directory. The directories specified with
5222    --   qualifiers /SOURCE_DIRS must exist and be readable.
5223
5224    S_Name_Dfile   : aliased constant S := "/DIRS_FILE=<"                   &
5225                                             "-D>";
5226    --        /DIRS_FILE=file_name
5227    --
5228    --   Look for source files in all directories listed in text file
5229    --   'file_name'. 'file_name' must be an existing, readable text file.
5230    --   Each non empty line in the specified file must be a directory.
5231    --   Specifying qualifier /DIRS_FILE is equivalent to specifying as many
5232    --   qualifiers /SOURCE_DIRS as there are non empty lines in the specified
5233    --   text file.
5234
5235    S_Name_Follow  : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
5236                                             "-eL";
5237    --        /NOFOLLOW_LINKS_FOR_FILES (D)
5238    --        /FOLLOW_LINKS_FOR_FILES
5239    --
5240    --    Follow links when parsing project files
5241
5242    S_Name_Frng    : aliased constant S := "/FOREIGN_PATTERN=" & '"'        &
5243                                             "-f" & '"';
5244    --        /FOREIGN_PATTERN=<string>
5245    --
5246    --   Specify a foreign pattern.
5247    --   Using this qualifier, it is possible to add sources of languages other
5248    --   than Ada to the list of sources of a project file. It is only useful
5249    --   if a qualifier /PROJECT_FILE is used. For example,
5250    --
5251    --   GNAT NAME /PROJECT_FILE=PRJ /FOREIGN_PATTERN="*.C" "*.ADA"
5252    --
5253    --   will look for Ada units in all files with the '.ADA' extension, and
5254    --   will add to the list of file for project PRJ.GPR the C files with
5255    --   extension ".C".
5256
5257    S_Name_Help    : aliased constant S := "/HELP "                         &
5258                                             "-h";
5259    --        /NOHELP (D)
5260    --        /HELP
5261    --
5262    --   Output usage information to the standard output stream.
5263
5264    S_Name_Proj    : aliased constant S := "/PROJECT_FILE=<"                &
5265                                             "-P>";
5266    --        /PROJECT_FILE=file_name
5267    --
5268    --   Create or update a project file. 'file_name' may include directory
5269    --   information. The specified file must be writable. There may be only
5270    --   one qualifier /PROJECT_FILE. When a qualifier /PROJECT_FILE is
5271    --   specified, no qualifier /CONFIG_FILE may be specified.
5272
5273    S_Name_Subdirs : aliased constant S := "/SUBDIRS=<"                     &
5274                                              "--subdirs=>";
5275    --        /SUBDIRS=dir
5276    --
5277    --   The actual directories (object, exec, library, ...) are subdirectories
5278    --   of the directory specified in the project file. If the subdirectory
5279    --   does not exist, it is created automatically.
5280
5281    S_Name_Verbose : aliased constant S := "/VERBOSE "                      &
5282                                             "-v";
5283    --        /NOVERBOSE (D)
5284    --        /VERBOSE
5285    --
5286    --   Verbose mode. Output detailed explanation of behavior to the standard
5287    --   output stream. This includes name of the file written, the name of the
5288    --   directories to search and, for each file in those directories whose
5289    --   name matches at least one of the Naming Patterns, an indication of
5290    --   whether the file contains a unit, and if so the name of the unit.
5291
5292    S_Name_Excl    : aliased constant S := "/EXCLUDED_PATTERN=" & '"'       &
5293                                             "-x" & '"';
5294    --      /EXCLUDED_PATTERN=<string>
5295    --
5296    --   Specify an excluded pattern.
5297    --   Using this qualifier, it is possible to exclude some files that would
5298    --   match the Naming patterns. For example,
5299    --
5300    --   GNAT NAME /EXCLUDED_PATTERN="*_NT.ADA" "*.ADA"
5301    --
5302    --   will look for Ada units in all files with the '.ADA' extension, except
5303    --   those whose names end with '_NT.ADA'.
5304
5305    Name_Switches : aliased constant Switches :=
5306                      (S_Name_Conf    'Access,
5307                       S_Name_Dirs    'Access,
5308                       S_Name_Dfile   'Access,
5309                       S_Name_Follow  'Access,
5310                       S_Name_Frng    'Access,
5311                       S_Name_Help    'Access,
5312                       S_Name_Proj    'Access,
5313                       S_Name_Subdirs 'Access,
5314                       S_Name_Verbose 'Access,
5315                       S_Name_Excl    'Access);
5316
5317    ----------------------------------
5318    -- Switches for GNAT PREPROCESS --
5319    ----------------------------------
5320
5321    S_Prep_Assoc   : aliased constant S := "/ASSOCIATE=" & '"'              &
5322                                             "-D" & '"';
5323    --        /ASSOCIATE="name=val"
5324    --
5325    --   Defines a new symbol, associated with value. If no value is given
5326    --   on the command line, then symbol is considered to be True.
5327    --   This qualifier can be used in place of a definition file.
5328
5329    S_Prep_Blank   : aliased constant S := "/BLANK_LINES "                  &
5330                                             "-b";
5331    --        /NOBLANK_LINES (D)
5332    --        /BLANK_LINES
5333    --
5334    --   Causes both preprocessor lines and the lines deleted by preprocessing
5335    --   to be replaced by blank lines in the output source file, thus
5336    --   preserving line numbers in the output file.
5337
5338    S_Prep_Com     : aliased constant S := "/COMMENTS "                     &
5339                                             "-c";
5340    --        /NOCOMMENTS (D)
5341    --        /COMMENTS
5342    --
5343    --   /COMMENTS causes both preprocessor lines and the lines deleted
5344    --   by preprocessing to be retained in the output source as comments marked
5345    --   with the special string "--! ". This option will result in line numbers
5346    --   being preserved in the output file.
5347    --
5348    --   /NOCOMMENTS causes both preprocessor lines and the lines deleted by
5349    --   preprocessing to be replaced by blank lines in the output source file,
5350    --   thus preserving line numbers in the output file.
5351
5352    S_Prep_Ref     : aliased constant S := "/REFERENCE "                    &
5353                                             "-r";
5354    --        /NOREFERENCE (D)
5355    --        /REFERENCE
5356    --
5357    --   Causes a "Source_Reference" pragma to be generated that references the
5358    --   original input file, so that error messages will use the file name of
5359    --   this original file.  Also implies /BLANK_LINES if /COMMENTS is not
5360    --   specified.
5361
5362    S_Prep_Remove  : aliased constant S := "/REMOVE "                       &
5363                                             "!-b,!-c";
5364    --        /REMOVE (D)
5365    --        /NOREMOVE
5366    --
5367    --   Preprocessor lines and deleted lines are completely removed from the
5368    --   output.
5369
5370    S_Prep_Replace : aliased constant S := "/REPLACE_IN_COMMENTS "          &
5371                                             "-C";
5372    --        /NOREPLACE_IN_COMMENTS (D)
5373    --        /REPLACE_IN_COMMENTS
5374    --
5375    --   Causes preprocessor to scan comments and perform replacements on
5376    --   any $symbol occurrences within the comment text.
5377
5378    S_Prep_Symbols : aliased constant S := "/SYMBOLS "                      &
5379                                             "-s";
5380    --        /NOSYMBOLS (D)
5381    --        /SYMBOLS
5382    --
5383    --   Causes a sorted list of symbol names and values to be listed on
5384    --   SYS$OUTPUT.
5385
5386    S_Prep_Undef   : aliased constant S := "/UNDEFINED "                    &
5387                                             "-u";
5388    --        /NOUNDEFINED (D)
5389    --        /UNDEFINED
5390
5391    Prep_Switches : aliased constant Switches :=
5392                      (S_Prep_Assoc   'Access,
5393                       S_Prep_Blank   'Access,
5394                       S_Prep_Com     'Access,
5395                       S_Prep_Ref     'Access,
5396                       S_Prep_Remove  'Access,
5397                       S_Prep_Replace 'Access,
5398                       S_Prep_Symbols 'Access,
5399                       S_Prep_Undef   'Access);
5400
5401    ------------------------------
5402    -- Switches for GNAT PRETTY --
5403    ------------------------------
5404
5405    S_Pretty_Add    : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"     &
5406                                              "-aP*";
5407    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
5408    --
5409    --   Add directories to the project search path.
5410
5411    S_Pretty_Align  : aliased constant S := "/ALIGN="                       &
5412                                            "DEFAULT "                      &
5413                                                "-A12345 "                  &
5414                                            "OFF "                          &
5415                                                "-A0 "                      &
5416                                            "COLONS "                       &
5417                                                "-A1 "                      &
5418                                            "DECLARATIONS "                 &
5419                                                "-A2 "                      &
5420                                            "STATEMENTS "                   &
5421                                                "-A3 "                      &
5422                                            "ARROWS "                       &
5423                                                "-A4 "                      &
5424                                            "COMPONENT_CLAUSES "            &
5425                                                "-A5";
5426    --        /ALIGN[=align-option, align-option, ...]
5427    --
5428    --   Set alignments. By default, all alignments (colons in declarations,
5429    --   initialisations in declarations, assignments and arrow delimiters) are
5430    --   ON.
5431    --
5432    --   align-option may be one of the following:
5433    --
5434    --      OFF (D)           Set all alignments to OFF
5435    --      COLONS            Set alignments of colons in declarations to ON
5436    --      DECLARATIONS      Set alignments of initialisations in declarations
5437    --                        to ON
5438    --      STATEMENTS        Set alignments of assignments statements to ON
5439    --      ARROWS            Set alignments of arrow delimiters to ON.
5440    --      COMPONENT_CLAUSES Set alignments of AT keywords in component
5441    --                        clauses ON
5442    --
5443    --   Specifying one of the ON options without first specifying the OFF
5444    --   option has no effect, because by default all alignments are set to ON.
5445
5446    S_Pretty_All_Prjs : aliased constant S := "/ALL_PROJECTS "              &
5447                                               "-U";
5448    --        /NOALL_PROJECTS (D)
5449    --        /ALL_PROJECTS
5450    --   When GNAT PRETTY is used with a Project File and no source is
5451    --   specified, the underlying tool gnatpp is called for all the
5452    --   sources of all the Project Files in the project tree.
5453
5454    S_Pretty_Attrib : aliased constant S := "/ATTRIBUTE_CASING="            &
5455                                            "MIXED_CASE "                   &
5456                                                "-aM "                      &
5457                                            "LOWER_CASE "                   &
5458                                                "-aL "                      &
5459                                            "UPPER_CASE "                   &
5460                                                "-aU";
5461    --        /ATTRIBUTE_CASING[=casing-option]
5462    --
5463    --   Set the case of the attributes. By default the attributes are in mixed
5464    --   case.
5465    --   casing-option may be one of the following:
5466    --
5467    --      MIXED_CASE (D)
5468    --      LOWER_CASE
5469    --      UPPER_CASE
5470
5471    S_Pretty_Comments  : aliased constant S := "/COMMENTS_LAYOUT="          &
5472                                               "UNTOUCHED "                 &
5473                                                  "-c0 "                    &
5474                                               "DEFAULT "                   &
5475                                                  "-c1 "                    &
5476                                               "STANDARD_INDENT "           &
5477                                                  "-c2 "                    &
5478                                               "GNAT_BEGINNING "            &
5479                                                  "-c3 "                    &
5480                                               "REFORMAT "                  &
5481                                                  "-c4 "                    &
5482                                               "KEEP_SPECIAL "              &
5483                                                  "-c5";
5484    --        /COMMENTS_LAYOUT[=layout-option, layout-option, ...]
5485    --
5486    --   Set the comment layout. By default, comments use the GNAT style
5487    --   comment line indentation.
5488    --
5489    --   layout-option may be one of the following:
5490    --
5491    --     UNTOUCHED           All the comments remain unchanged
5492    --     DEFAULT (D)         GNAT style comment line indentation
5493    --     STANDARD_INDENT     Standard comment line indentation
5494    --     GNAT_BEGINNING      GNAT style comment beginning
5495    --     REFORMAT            Reformat comment blocks
5496    --     KEEP_SPECIAL        Keep unchanged special form comments
5497    --
5498    --     All combinations of layout options are allowed, except for DEFAULT
5499    --     and STANDARD_INDENT which are mutually exclusive, and also if
5500    --     UNTOUCHED is specified, this must be the only option.
5501    --
5502    --     The difference between "GNAT style comment line indentation" and
5503    --     "standard comment line indentation" is the following: for standard
5504    --     comment indentation, any comment line is indented as if it were
5505    --     a declaration or statement at the same place.
5506    --     For GNAT style comment indentation, comment lines which are
5507    --     immediately followed by if or case statement alternative, record
5508    --     variant or 'begin' keyword are indented as the keyword that follows
5509    --     them.:
5510    --
5511    --     Standard indentation:
5512    --
5513    --        if A then
5514    --           null;
5515    --           -- some comment
5516    --        else
5517    --           null;
5518    --        end if;
5519    --
5520    --     GNAT style indentation:
5521    --
5522    --        if A then
5523    --           null;
5524    --        -- some comment
5525    --        else
5526    --           null;
5527    --        end if;
5528    --
5529    --     Option "GNAT style comment beginning" means that for each comment
5530    --     which is not considered as non-formattable separator (that is, the
5531    --     comment line contains only dashes, or a comment line ends with two
5532    --     dashes), there will be at least two spaces between starting "--" and
5533    --     the first non-blank character of the comment.
5534
5535    S_Pretty_Config    : aliased constant S := "/CONFIGURATION_PRAGMAS_FILE=<" &
5536                                               "-gnatec>";
5537    --        /CONFIGURATION_PRAGMAS_FILE=file
5538    --
5539    --   Specify a configuration pragmas file that need to be passed to the
5540    --   compiler.
5541
5542    S_Pretty_Constr    : aliased constant S := "/CONSTRUCT_LAYOUT="         &
5543                                                "GNAT "                     &
5544                                                   "-l1 "                   &
5545                                                "COMPACT "                  &
5546                                                   "-l2 "                   &
5547                                                "UNCOMPACT "                &
5548                                                    "-l3";
5549    --        /CONSTRUCT_LAYOUT[=construct-option]
5550    --
5551    --   Set construct layout. Default is GNAT style layout.
5552    --   construct-option may be one of the following:
5553    --
5554    --      GNAT (D)
5555    --      COMPACT
5556    --      UNCOMPACT
5557    --
5558    --   The difference between GNAT style and Compact layout on one hand
5559    --   and Uncompact layout on the other hand can be illustrated by the
5560    --   following examples:
5561    --
5562    --       GNAT style and                          Uncompact layout
5563    --       Compact layout
5564    --
5565    --       type q is record                        type q is
5566    --          a : integer;                            record
5567    --          b : integer;                               a : integer;
5568    --       end record;                                   b : integer;
5569    --                                                  end record;
5570    --
5571    --
5572    --       Block : declare                         Block :
5573    --          A : Integer := 3;                       declare
5574    --       begin                                         A : Integer := 3;
5575    --          Proc (A, A);                            begin
5576    --       end Block;                                    Proc (A, A);
5577    --                                                  end Block;
5578    --
5579    --       Clear : for J in 1 .. 10 loop           Clear :
5580    --          A (J) := 0;                             for J in 1 .. 10 loop
5581    --       end loop Clear;                               A (J) := 0;
5582    --                                                  end loop Clear;
5583    --
5584    --
5585    --   A further difference between GNAT style layout and compact layout is
5586    --   that in GNAT style layout compound statements, return statements and
5587    --   bodies are always separated by empty lines.
5588
5589    S_Pretty_Comind    : aliased constant S := "/CONTINUATION_INDENT=#"     &
5590                                                  "-cl#";
5591    --        /CONTINUATION_INDENT=nnn
5592    --
5593    --   Indentation level for continuation lines, nnn from 1 .. 9.
5594    --   The default value is one less then the (normal) indentation level,
5595    --   unless the indentation is set to 1: in that case the default value for
5596    --   continuation line indentation is also 1.
5597
5598    S_Pretty_Compact_Is : aliased constant S := "/NO_SEPARATE_IS "          &
5599                                                  "--no-separate-is";
5600    --        /NO_SEPARATE_IS
5601    --
5602    --   Do not place the IS keyword on a separate line in a subprogram body in
5603    --   case if the specification occupies more then one line.
5604
5605    S_Pretty_Sep_Loop_Then : aliased constant S := "/SEPARATE_LOOP_THEN "   &
5606                                                     "--separate-loop-then";
5607    --        /SEPARATE_LOOP_THEN
5608    --
5609    --   Place the THEN keyword in IF statement and the LOOP keyword in for-
5610    --   and while-loops on a separate line.
5611
5612    S_Pretty_N_Sep_Loop_Then : aliased constant S := "/NO_SEPARATE_LOOP_THEN " &
5613                                                     "--no-separate-loop-then";
5614    --        /NO_SEPARATE_LOOP_THEN
5615    --
5616    --   Do not place the THEN keyword in IF statement and the LOOP keyword in
5617    --   for- and while-loops on a separate line.
5618
5619    S_Pretty_Use_On_New_Line : aliased constant S := "/USE_ON_NEW_LINE "    &
5620                                                       "--use-on-new-line";
5621    --        /USE_ON_NEW_LINE
5622    --
5623    --   Start any USE clause that is a part of a context clause from a
5624    --   separate line.
5625
5626    S_Pretty_Stnm_On_Nw_Line : aliased constant S := "/STMT_NAME_ON_NEW_LINE " &
5627                                                       "--separate-stmt-name";
5628    --        /STMT_NAME_ON_NEW_LINE
5629    --
5630    --   For named block and loop statements use a separate line for the
5631    --   statement name, but do not use an extra indentation level for the
5632    --   statement itself.
5633
5634    S_Pretty_Eol       : aliased constant S := "/END_OF_LINE="              &
5635                                                 "DOS "                     &
5636                                                    "--eol=dos "            &
5637                                                 "UNIX "                    &
5638                                                    "--eol=unix "           &
5639                                                 "CRLF "                    &
5640                                                    "--eol=crlf "           &
5641                                                 "LF "                      &
5642                                                    "--eol=lf";
5643    --        /END_OF_LINE=[option]
5644    --
5645    --   Specifies the form of the line terminators in the produced source.
5646    --   By default, the form of the line terminator depends on the platforms.
5647    --   On Unix and VMS, it is a Line Feed (LF) character. On Windows (DOS),
5648    --   It is a Carriage Return (CR) followed by a Line Feed.
5649    --   The Options DOS and CRLF are equivalent. The options UNIX and LF are
5650    --   also equivalent.
5651
5652    S_Pretty_Ext       : aliased constant S := "/EXTERNAL_REFERENCE=" & '"' &
5653                                             "-X" & '"';
5654    --        /EXTERNAL_REFERENCE="name=val"
5655    --
5656    --   Specifies an external reference to the project manager. Useful only if
5657    --   /PROJECT_FILE is used.
5658    --
5659    --   Example:
5660    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
5661
5662    S_Pretty_Current   : aliased constant S := "/CURRENT_DIRECTORY "        &
5663                                               "!-I-";
5664    --        /CURRENT_DIRECTORY (D)
5665    --
5666    --   Look for source files in the current working directory.
5667    --
5668    --        /NOCURRENT_DIRECTORY
5669    --   Do not look for source files in the current working directory.
5670
5671    S_Pretty_Dico      : aliased constant S := "/DICTIONARY=*"              &
5672                                               "-D*";
5673    --        /DICTIONARY=(file_name, ...)
5674    --
5675    --   Use each specified file as a dictionary file that defines the casing
5676    --   for a set of specified names, thereby overriding the effect on these
5677    --   names by any explicit or implicit /NAME_CASING qualifier.
5678    --
5679    --   GNAT PRETTY implicitly uses a default dictionary file to define the
5680    --   casing for the Ada predefined names and the names declared in the GNAT
5681    --   libraries.
5682    --
5683    --   The structure of a dictionary file, and details on the conventions
5684    --   used in the default dictionary file, are defined in the GNAT User's
5685    --   Guide.
5686
5687    S_Pretty_Encoding  : aliased constant S := "/RESULT_ENCODING="          &
5688                                               "BRACKETS "                  &
5689                                                  "-Wb "                    &
5690                                               "HEX "                       &
5691                                                  "-Wh "                    &
5692                                               "UPPER "                     &
5693                                                  "-Wu "                    &
5694                                               "SHIFT_JIS "                 &
5695                                                  "-Ws "                    &
5696                                               "EUC "                       &
5697                                                  "-We "                    &
5698                                               "UTF8 "                      &
5699                                                  "-W8";
5700    --        /RESULT_ENCODING[=encoding-type]
5701    --
5702    --   Specify the wide character encoding method used when writing the
5703    --   reformatted code in the result file. 'encoding-type' is one of the
5704    --   following:
5705    --
5706    --      BRACKETS (D)      Brackets encoding.
5707    --
5708    --      HEX               Hex ESC encoding.
5709    --
5710    --      UPPER             Upper half encoding.
5711    --
5712    --      SHIFT_JIS         Shift-JIS encoding.
5713    --
5714    --      EUC               EUC Encoding.
5715    --
5716    --      UTF8              UTF-8 encoding.
5717    --
5718    --   See 'HELP GNAT COMPILE /WIDE_CHARACTER_ENCODING' for an explanation
5719    --   about the different character encoding methods.
5720
5721    S_Pretty_Files     : aliased constant S := "/FILES=@"                   &
5722                                                  "-files=@";
5723    --      /FILES=filename
5724    --
5725    --   Take as arguments the files that are listed in the specified
5726    --   text file.
5727
5728    S_Pretty_Follow : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "      &
5729                                              "-eL";
5730    --        /NOFOLLOW_LINKS_FOR_FILES (D)
5731    --        /FOLLOW_LINKS_FOR_FILES
5732    --
5733    --    Follow links when parsing project files
5734
5735    S_Pretty_Forced    : aliased constant S := "/FORCED_OUTPUT=@"           &
5736                                                  "-of@";
5737    --        /FORCED_OUTPUT=file
5738    --
5739    --   Write the output into the specified file, overriding any possibly
5740    --   existing file.
5741
5742    S_Pretty_Formfeed  : aliased constant S := "/FORM_FEED_AFTER_PRAGMA_PAGE " &
5743                                               "-ff";
5744    --        /FORM_FEED_AFTER_PRAGMA_PAGE
5745    --
5746    --   When there is a pragma Page in the source, insert a Form Feed
5747    --   character immediately after the semicolon that follows the pragma
5748    --   Page.
5749
5750    S_Pretty_Indent    : aliased constant S := "/INDENTATION_LEVEL=#"       &
5751                                                 "-i#";
5752    --        /INDENTATION_LEVEL=nnn
5753    --
5754    --   Specify the number of spaces to add for each indentation level.
5755    --   nnn must be between 1 and 9. The default is 3.
5756
5757    S_Pretty_Keyword   : aliased constant S := "/KEYWORD_CASING="           &
5758                                               "LOWER_CASE "                &
5759                                                  "-kL "                    &
5760                                               "UPPER_CASE "                &
5761                                                  "-kU";
5762    --        /KEYWORD_CASING[=keyword-option]
5763    --
5764    --   Specify the case of Ada keywords. The default is keywords in lower
5765    --   case.
5766    --   keyword-option may be one of the following:
5767    --
5768    --      LOWER_CASE (D)
5769    --      UPPER_CASE
5770
5771    S_Pretty_Maxlen    : aliased constant S := "/LINE_LENGTH_MAX=#"         &
5772                                                  "-M#";
5773    --        /LINE_LENGTH_MAX=nnn
5774    --
5775    --   Set the maximum line length, nnn from 32 ..256. The default is 79.
5776
5777    S_Pretty_Maxind    : aliased constant S := "/MAX_INDENT=#"              &
5778                                                  "-T#";
5779    --        /MAX_INDENT=nnn
5780    --
5781    --   Do not use an additional indentation level for case alternatives
5782    --   and variants if their number is nnn or more. The default is  10.
5783    --   If nnn is zero, an additional indentation level is  used for any number
5784    --   of case alternatives and variants.
5785
5786    S_Pretty_Mess      : aliased constant S := "/MESSAGES_PROJECT_FILE="    &
5787                                             "DEFAULT "                     &
5788                                                "-vP0 "                     &
5789                                             "MEDIUM "                      &
5790                                                "-vP1 "                     &
5791                                             "HIGH "                        &
5792                                                "-vP2";
5793    --        /MESSAGES_PROJECT_FILE[=messages-option]
5794    --
5795    --   Specifies the "verbosity" of the parsing of project files.
5796    --   messages-option may be one of the following:
5797    --
5798    --      DEFAULT (D)  No messages are output if there is no error or warning.
5799    --
5800    --      MEDIUM       A small number of messages are output.
5801    --
5802    --      HIGH         A great number of messages are output, most of them not
5803    --                   being useful for the user.
5804
5805    S_Pretty_Names     : aliased constant S := "/NAME_CASING="              &
5806                                               "AS_DECLARED "               &
5807                                                  "-nD "                    &
5808                                               "LOWER_CASE "                &
5809                                                  "-nL "                    &
5810                                               "UPPER_CASE "                &
5811                                                  "-nU "                    &
5812                                               "MIXED_CASE "                &
5813                                                  "-nM";
5814    --        /NAME_CASING[=name-option]
5815    --
5816    --   Specify the casing of names.
5817    --   'name-option' may be one of:
5818    --
5819    --      AS_DECLARED (D)   Name casing for defining occurrences are as they
5820    --                        appear in the source file.
5821    --
5822    --      LOWER_CASE        Names are in lower case.
5823    --
5824    --      UPPER_CASE        Names are in upper case.
5825    --
5826    --      MIXED_CASE        Names are in mixed case.
5827
5828    S_Pretty_Replace_No_Backup : aliased constant S := "/REPLACE_NO_BACKUP " &
5829                                                  "-rnb";
5830    --        /REPLACE_NO_BACKUP
5831    --
5832    --   Replace the argument source with the pretty-printed source without
5833    --   creating any backup copy of the argument source.
5834
5835    S_Pretty_No_Labels : aliased constant S := "/NO_MISSED_LABELS "         &
5836                                                  "-e";
5837    --        /NO_MISSED_LABELS
5838    --
5839    --   Do not insert missing end/exit labels. The end label is the name of
5840    --   a construct that may optionally appear at the end of the construct.
5841    --   This includes the names of packages and subprograms.
5842    --   Similarly, the exit label is the name of a loop that may appear as the
5843    --   argument of an exit statement within the loop. By default, GNAT PRETTY
5844    --   inserts these end/exit labels when they are absent in the original
5845    --   source. This qualifier /NO_MISSED_LABELS suppresses this insertion,
5846    --   so that the formatted source reflects the original.
5847
5848    S_Pretty_Notabs    : aliased constant S := "/NOTABS "                   &
5849                                                  "-notabs";
5850    --        /NOTABS
5851    --
5852    --   Replace all tabulations in comments with spaces.
5853
5854    S_Pretty_Output    : aliased constant S := "/OUTPUT=@"                  &
5855                                               "-o@";
5856    --        /OUTPUT=file
5857    --
5858    --   Write the output to the specified file. If the file already exists,
5859    --   an error is reported.
5860
5861    S_Pretty_Override  : aliased constant S := "/OVERRIDING_REPLACE "       &
5862                                                  "-rf";
5863    --        /NOOVERRIDING_REPLACE (D)
5864    --        /OVERRIDING_REPLACE
5865    --
5866    --   Replace the argument source with the pretty-printed source and copy the
5867    --   argument source into filename.NPP, overriding any existing file if
5868    --   needed.
5869
5870    S_Pretty_Pragma    : aliased constant S := "/PRAGMA_CASING="            &
5871                                               "MIXED_CASE "                &
5872                                                  "-pM "                    &
5873                                               "LOWER_CASE "                &
5874                                                  "-pL "                    &
5875                                               "UPPER_CASE "                &
5876                                                  "-pU";
5877    --        /PRAGMA_CASING[=pragma-option]
5878    --
5879    --   Set the case of pragma identifiers. The default is Mixed case.
5880    --   pragma-option may be one of the following:
5881    --
5882    --      MIXED_CASE (D)
5883    --      LOWER_CASE
5884    --      UPPER_CASE
5885
5886    S_Pretty_Project   : aliased constant S := "/PROJECT_FILE=<"            &
5887                                                 "-P>";
5888    --        /PROJECT_FILE=filename
5889    --
5890    --   Specifies the main project file to be used. The project files rooted
5891    --   at the main project file will be parsed before any other processing to
5892    --   set the building environment.
5893
5894    S_Pretty_Replace   : aliased constant S := "/REPLACE "                  &
5895                                                  "-r";
5896    --        /NOREPLACE (D)
5897    --        /REPLACE
5898    --
5899    --   Replace the argument source with the pretty-printed source and copy the
5900    --   argument source into filename.NPP. If filename.NPP already exists,
5901    --   report an error and exit.
5902
5903    S_Pretty_RTS       : aliased constant S := "/RUNTIME_SYSTEM=|"          &
5904                                                "--RTS=|";
5905    --        /RUNTIME_SYSTEM=xxx
5906    --
5907    --    Compile against an alternate runtime system named xxx or RTS-xxx.
5908
5909    S_Pretty_Search    : aliased constant S := "/SEARCH=*"                  &
5910                                               "-I*";
5911    --        /SEARCH=(directory[,...])
5912    --
5913    --    When looking for source files also look in directories specified.
5914
5915    S_Pretty_Specific  : aliased constant S := "/SPECIFIC_CASING "          &
5916                                               "-D-";
5917    --        /SPECIFIC_CASING
5918    --
5919    --   Do not use the default dictionary file; instead, use the casing
5920    --   defined by a qualifier /NAME_CASING and/or any explicit dictionary
5921    --   file specified by a qualifier /DICTIONARY.
5922
5923    S_Pretty_Standard  : aliased constant S := "/STANDARD_OUTPUT "          &
5924                                               "-pipe";
5925    --        /NOSTANDARD_OUTPUT (D)
5926    --        /STANDARD_OUTPUT
5927    --
5928    --   Redirect the output to the standard output.
5929
5930    S_Pretty_Subdirs : aliased constant S := "/SUBDIRS=<"                   &
5931                                                "--subdirs=>";
5932    --        /SUBDIRS=dir
5933    --
5934    --   The actual directories (object, exec, library, ...) are subdirectories
5935    --   of the directory specified in the project file. If the subdirectory
5936    --   does not exist, it is created automatically.
5937
5938    S_Pretty_Verbose   : aliased constant S := "/VERBOSE "                  &
5939                                               "-v";
5940    --        /NOVERBOSE (D)
5941    --        /VERBOSE
5942    --
5943    --   Verbose mode; GNAT PRETTY generates version information and then a
5944    --   trace of the actions it takes to produce or obtain the ASIS tree.
5945
5946    S_Pretty_Warnings  : aliased constant S := "/WARNINGS "                 &
5947                                               "-w";
5948    --        /NOWARNINGS (D)
5949    --        /WARNINGS
5950    --
5951    --   Issue a warning to the standard error stream if it is not possible
5952    --   to provide the required layout in the result source.
5953    --   By default such warnings are not activated.
5954
5955    Pretty_Switches : aliased constant Switches :=
5956                        (S_Pretty_Add              'Access,
5957                         S_Pretty_Align            'Access,
5958                         S_Pretty_All_Prjs         'Access,
5959                         S_Pretty_Attrib           'Access,
5960                         S_Pretty_Comments         'Access,
5961                         S_Pretty_Compact_Is       'Access,
5962                         S_Pretty_Config           'Access,
5963                         S_Pretty_Constr           'Access,
5964                         S_Pretty_Comind           'Access,
5965                         S_Pretty_Current          'Access,
5966                         S_Pretty_Dico             'Access,
5967                         S_Pretty_Eol              'Access,
5968                         S_Pretty_Ext              'Access,
5969                         S_Pretty_Encoding         'Access,
5970                         S_Pretty_Files            'Access,
5971                         S_Pretty_Follow           'Access,
5972                         S_Pretty_Forced           'Access,
5973                         S_Pretty_Formfeed         'Access,
5974                         S_Pretty_Indent           'Access,
5975                         S_Pretty_Keyword          'Access,
5976                         S_Pretty_Maxlen           'Access,
5977                         S_Pretty_Maxind           'Access,
5978                         S_Pretty_Mess             'Access,
5979                         S_Pretty_Names            'Access,
5980                         S_Pretty_No_Labels        'Access,
5981                         S_Pretty_Notabs           'Access,
5982                         S_Pretty_Output           'Access,
5983                         S_Pretty_Override         'Access,
5984                         S_Pretty_Pragma           'Access,
5985                         S_Pretty_Replace          'Access,
5986                         S_Pretty_Replace_No_Backup'Access,
5987                         S_Pretty_Project          'Access,
5988                         S_Pretty_RTS              'Access,
5989                         S_Pretty_Search           'Access,
5990                         S_Pretty_Sep_Loop_Then    'Access,
5991                         S_Pretty_N_Sep_Loop_Then  'Access,
5992                         S_Pretty_Subdirs          'Access,
5993                         S_Pretty_Use_On_New_Line  'Access,
5994                         S_Pretty_Stnm_On_Nw_Line  'Access,
5995                         S_Pretty_Specific         'Access,
5996                         S_Pretty_Standard         'Access,
5997                         S_Pretty_Verbose          'Access,
5998                         S_Pretty_Warnings         'Access);
5999
6000    ------------------------------
6001    -- Switches for GNAT SHARED --
6002    ------------------------------
6003
6004    S_Shared_Debug   : aliased constant S := "/DEBUG="                      &
6005                                             "ALL "                         &
6006                                                "-g3 "                      &
6007                                             "NONE "                        &
6008                                                "-g0 "                      &
6009                                             "TRACEBACK "                   &
6010                                                "-g1 "                      &
6011                                             "NOTRACEBACK "                 &
6012                                                "-g0";
6013    --        /DEBUG[=debug-option]
6014    --        /NODEBUG
6015    --
6016    --   Specifies the amount of debugging information included. 'debug-option'
6017    --   is one of the following:
6018    --
6019    --        ALL (D)      Include full debugging information.
6020    --
6021    --        NONE         Provide no debugging information. Same as /NODEBUG.
6022    --
6023    --        TRACEBACK    Provide sufficient debug information for a traceback.
6024    --
6025    --        NOTRACEBACK  Same as NONE.
6026
6027    S_Shared_Image  : aliased constant S := "/IMAGE=@"                      &
6028                                             "-o@";
6029    --        /IMAGE=image-name
6030    --
6031    --   'image-name' specifies the name for the generated shared library.
6032
6033    S_Shared_Ident   : aliased constant S := "/IDENTIFICATION=" & '"'       &
6034                                             "--for-linker=IDENT="          &
6035                                             '"';
6036    --        /IDENTIFICATION="<string>"
6037    --
6038    --   "<string>" specifies the string to be stored in the image file ident-
6039    --   ification field in the image header. It overrides any pragma Ident
6040    --   specified string.
6041
6042    S_Shared_Nofiles : aliased constant S := "/NOSTART_FILES "              &
6043                                             "-nostartfiles";
6044    --        /NOSTART_FILES
6045    --
6046    --   Link in default image initialization and startup functions.
6047
6048    S_Shared_Noinhib : aliased constant S := "/NOINHIBIT-IMAGE "            &
6049                                             "--for-linker=--noinhibit-exec";
6050    --        /NOINHIBIT-IMAGE
6051    --
6052    --   Delete image if there are errors or warnings.
6053
6054    S_Shared_Verb    : aliased constant S := "/VERBOSE "                    &
6055                                             "-v";
6056    --        /NOVERBOSE (D)
6057    --        /VERBOSE
6058    --
6059    --   Causes additional information to be output, including a full list of
6060    --   the included object files. This switch option is most useful when you
6061    --   want to see what set of object files are being used in the link step.
6062
6063    S_Shared_ZZZZZ   : aliased constant S := "/<other> "                    &
6064                                             "--for-linker=";
6065    --        /<other>
6066    --
6067    --   Any other switch transmitted to the underlying linker.
6068
6069    Shared_Switches : aliased constant Switches :=
6070                        (S_Shared_Debug   'Access,
6071                         S_Shared_Image   'Access,
6072                         S_Shared_Ident   'Access,
6073                         S_Shared_Nofiles 'Access,
6074                         S_Shared_Noinhib 'Access,
6075                         S_Shared_Verb    'Access,
6076                         S_Shared_ZZZZZ   'Access);
6077
6078    -----------------------------
6079    -- Switches for GNAT STACK --
6080    -----------------------------
6081
6082    S_Stack_Add        : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"  &
6083                                                 "-aP*";
6084    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
6085    --
6086    --   Add directories to the project search path.
6087
6088    S_Stack_All        : aliased constant S := "/ALL_SUBPROGRAMS "          &
6089                                                 "-a";
6090    --        /NOALL_SUBPROGRAMS (D)
6091    --        /ALL_SUBPROGRAMS
6092    --
6093    --   Consider all subprograms as entry points.
6094
6095    S_Stack_All_Cycles : aliased constant S := "/ALL_CYCLES "               &
6096                                                 "-ca";
6097    --        /NOALL_CYCLES (D)
6098    --        /ALL_CYCLES
6099    --
6100    --   Extract all possible cycles in the call graph.
6101
6102    S_Stack_All_Prjs   : aliased constant S := "/ALL_PROJECTS "             &
6103                                                 "-U";
6104    --        /NOALL_PROJECTS (D)
6105    --        /ALL_PROJECTS
6106    --
6107    --   When GNAT STACK is used with a Project File and no source is
6108    --   specified, the underlying tool gnatstack is called for all the
6109    --   units of all the Project Files in the project tree.
6110
6111    S_Stack_Debug      : aliased constant S := "/DEBUG "                    &
6112                                                 "-g";
6113    --        /NODEBUG (D)
6114    --        /DEBUG
6115    --
6116    --   Generate internal debug information.
6117
6118    S_Stack_Directory  : aliased constant S := "/DIRECTORY=*"               &
6119                                                 "-aO*";
6120    --        /DIRECTORY=(direc[,...])
6121    --
6122    --   When looking for .ci files look also in directories specified.
6123
6124    S_Stack_Entries    : aliased constant S := "/ENTRIES=*"                 &
6125                                                 "-e*";
6126    --
6127    --        /ENTRY=(entry_point[,...])
6128    --
6129    --   Name of symbol to be used as entry point for the analysis.
6130
6131    S_Stack_Files      : aliased constant S := "/FILES=@"                   &
6132                                                 "-files=@";
6133    --      /FILES=filename
6134    --
6135    --   Take as arguments the files that are listed in the specified
6136    --   text file.
6137
6138    S_Stack_Follow : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
6139                                             "-eL";
6140    --        /NOFOLLOW_LINKS_FOR_FILES (D)
6141    --        /FOLLOW_LINKS_FOR_FILES
6142    --
6143    --    Follow links when parsing project files
6144
6145    S_Stack_Help       : aliased constant S := "/HELP "                     &
6146                                                 "-h";
6147    --        /NOHELP (D)
6148    --        /HELP
6149    --
6150    --   Output a message explaining the usage of gnatstack.
6151
6152    S_Stack_List       : aliased constant S := "/LIST=#"                    &
6153                                                 "-l#";
6154    --        /LIST=nnn
6155    --
6156    --   Print the nnn subprograms requiring the biggest local stack usage. By
6157    --   default none will be displayed.
6158
6159    S_Stack_Order      : aliased constant S := "/ORDER="                    &
6160                                               "STACK "                     &
6161                                                  "-os "                    &
6162                                               "ALPHABETICAL "              &
6163                                                  "-oa";
6164    --        /ORDER[=order-option]
6165    --
6166    --   Specifies the order for displaying the different call graphs.
6167    --   order-option may be one of the following:
6168    --
6169    --      STACK (D)    Select stack usage order
6170    --
6171    --      ALPHABETICAL Select alphabetical order
6172
6173    S_Stack_Path       : aliased constant S := "/PATH "                     &
6174                                                 "-p";
6175    --        /NOPATH (D)
6176    --        /PATH
6177    --
6178    --   Print all the subprograms that make up the worst-case path for every
6179    --   entry point.
6180
6181    S_Stack_Project    : aliased constant S := "/PROJECT_FILE=<"            &
6182                                                 "-P>";
6183    --        /PROJECT_FILE=filename
6184    --
6185    --   Specifies the main project file to be used. The project files rooted
6186    --   at the main project file will be parsed before the invocation of
6187    --   gnatstack.
6188
6189    S_Stack_Output     : aliased constant S := "/OUTPUT=@"                  &
6190                                                 "-f@";
6191    --        /OUTPUT=filename
6192    --
6193    --   Name of the file containing the generated graph (VCG format).
6194
6195    S_Stack_Regexp     : aliased constant S := "/EXPRESSION=|"              &
6196                                                 "-r|";
6197    --
6198    --        /EXPRESSION=regular-expression
6199    --
6200    --   Any symbol matching the regular expression will be considered as a
6201    --   potential entry point for the analysis.
6202
6203    S_Stack_Subdirs : aliased constant S := "/SUBDIRS=<"                    &
6204                                               "--subdirs=>";
6205    --        /SUBDIRS=dir
6206    --
6207    --   The actual directories (object, exec, library, ...) are subdirectories
6208    --   of the directory specified in the project file. If the subdirectory
6209    --   does not exist, it is created automatically.
6210
6211    S_Stack_Unbounded  : aliased constant S := "/UNBOUNDED=#"               &
6212                                                 "-d#";
6213    --        /UNBOUNDED=nnn
6214    --
6215    --   Default stack size to be used for unbounded (dynamic) frames.
6216
6217    S_Stack_Unknown    : aliased constant S := "/UNKNOWN=#"                 &
6218                                                 "-u#";
6219    --        /UNKNOWN=nnn
6220    --
6221    --   Default stack size to be used for unknown (external) calls.
6222
6223    S_Stack_Verbose    : aliased constant S := "/VERBOSE "                  &
6224                                                 "-v";
6225    --        /NOVERBOSE (D)
6226    --        /VERBOSE
6227    --
6228    --   Specifies the amount of information to be displayed about the
6229    --   different subprograms. In verbose mode the full location of the
6230    --   subprogram will be part of the output, as well as detailed information
6231    --   about inaccurate data.
6232
6233    S_Stack_Warnings   : aliased constant S := "/WARNINGS="                 &
6234                                               "ALL "                       &
6235                                                  "-Wa "                    &
6236                                               "CYCLES "                    &
6237                                                  "-Wc "                    &
6238                                               "UNBOUNDED "                 &
6239                                                  "-Wu "                    &
6240                                               "EXTERNAL "                  &
6241                                                  "-We "                    &
6242                                               "INDIRECT "                  &
6243                                                  "-Wi";
6244    --        /WARNINGS[=(keyword[,...])]
6245    --
6246    --    The following keywords are supported:
6247    --
6248    --        ALL        Turn on all optional warnings
6249    --
6250    --        CYCLES     Turn on warnings for cycles
6251    --
6252    --        UNBOUNDED  Turn on warnings for unbounded frames
6253    --
6254    --        EXTERNAL   Turn on warnings for external calls
6255    --
6256    --        INDIRECT   Turn on warnings for indirect calls
6257
6258    Stack_Switches : aliased constant Switches :=
6259                       (S_Stack_Add        'Access,
6260                        S_Stack_All        'Access,
6261                        S_Stack_All_Cycles 'Access,
6262                        S_Stack_All_Prjs   'Access,
6263                        S_Stack_Debug      'Access,
6264                        S_Stack_Directory  'Access,
6265                        S_Stack_Entries    'Access,
6266                        S_Stack_Files      'Access,
6267                        S_Stack_Follow     'Access,
6268                        S_Stack_Help       'Access,
6269                        S_Stack_List       'Access,
6270                        S_Stack_Order      'Access,
6271                        S_Stack_Path       'Access,
6272                        S_Stack_Project    'Access,
6273                        S_Stack_Output     'Access,
6274                        S_Stack_Regexp     'Access,
6275                        S_Stack_Subdirs    'Access,
6276                        S_Stack_Unbounded  'Access,
6277                        S_Stack_Unknown    'Access,
6278                        S_Stack_Verbose    'Access,
6279                        S_Stack_Warnings   'Access);
6280
6281    ----------------------------
6282    -- Switches for GNAT STUB --
6283    ----------------------------
6284
6285    S_Stub_Add     : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"      &
6286                                             "-aP*";
6287    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
6288    --
6289    --   Add directories to the project search path.
6290
6291    S_Stub_Config  : aliased constant S := "/CONFIGURATION_PRAGMAS_FILE=<"  &
6292                                             "-gnatec>";
6293    --        /CONFIGURATION_PRAGMAS_FILE=filespec
6294    --
6295    --   Specifies a configuration pragmas file that must be taken into account
6296    --   when compiling.
6297
6298    S_Stub_Current : aliased constant S := "/CURRENT_DIRECTORY "            &
6299                                             "!-I-";
6300    --        /CURRENT_DIRECTORY (D)
6301    --        /NOCURRENT_DIRECTORY
6302    --
6303    --   Look for source, library or object files in the default directory.
6304
6305    S_Stub_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'     &
6306                                             "-X" & '"';
6307    --        /EXTERNAL_REFERENCE="name=val"
6308    --
6309    --   Specifies an external reference to the project manager. Useful only if
6310    --   /PROJECT_FILE is used.
6311    --
6312    --   Example:
6313    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
6314
6315    S_Stub_Follow  : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
6316                                             "-eL";
6317    --        /NOFOLLOW_LINKS_FOR_FILES (D)
6318    --        /FOLLOW_LINKS_FOR_FILES
6319    --
6320    --    Follow links when parsing project files
6321
6322    S_Stub_Full    : aliased constant S := "/FULL "                         &
6323                                             "-f";
6324    --        /NOFULL (D)
6325    --        /FULL
6326    --
6327    --   If the destination directory already contains a file with the name of
6328    --   the body file for the argument file spec, replace it with the generated
6329    --   body stub. If /FULL is not used and there is already a body file, this
6330    --   existing body file is not replaced.
6331
6332    S_Stub_Header  : aliased constant S := "/HEADER="                       &
6333                                             "GENERAL "                     &
6334                                                "-hg "                      &
6335                                             "SPEC "                        &
6336                                                "-hs";
6337    --        /HEADER[=header-option]
6338    --
6339    --   Specifies the form of the comment header above the generated body stub.
6340    --   If no /HEADER qualifier is specified, there is no comment header.
6341    --   header-option is one of the following:
6342    --
6343    --
6344    --      GENERAL (D)  Put a sample comment header into the body stub.
6345    --
6346    --      SPEC         Put the comment header (i.e., all the comments
6347    --                   preceding the compilation unit) from the source of the
6348    --                   library unit declaration into the body stub.
6349
6350    S_Stub_Header_File : aliased constant S := "/FROM_HEADER_FILE=<" &
6351                                                 "--header-file=>";
6352
6353    --        /FROM_HEADER_FILE==filename
6354    --
6355    --   Use the content of the file as the comment header for a generated body
6356    --   stub.
6357
6358    S_Stub_Indent  : aliased constant S := "/INDENTATION=#"                 &
6359                                             "-i#";
6360    --        /INDENTATION=nnn
6361    --
6362    --   (nnn is a non-negative integer). Set the indentation level in the
6363    --   generated body stub to nnn. nnn=0 means "no indentation".
6364    --   Default indentation is 3.
6365
6366    S_Stub_Keep    : aliased constant S := "/KEEP "                         &
6367                                             "-k";
6368    --        /NOKEEP (D)
6369    --        /KEEP
6370    --
6371    --   Do not delete the tree file (i.e., the snapshot of the compiler
6372    --   internal structures used by gnatstub) after creating the body stub.
6373
6374    S_Stub_Length  : aliased constant S := "/LINE_LENGTH=#"                 &
6375                                             "-l#";
6376    --        /LINE_LENGTH=nnn
6377    --
6378    --   (n is a non-negative integer). Set the maximum line length in the body
6379    --   stub to nnn. Default is 78.
6380
6381    S_Stub_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="        &
6382                                             "DEFAULT "                     &
6383                                                "-vP0 "                     &
6384                                             "MEDIUM "                      &
6385                                                "-vP1 "                     &
6386                                             "HIGH "                        &
6387                                                "-vP2";
6388    --        /MESSAGES_PROJECT_FILE[=messages-option]
6389    --
6390    --   Specifies the "verbosity" of the parsing of project files.
6391    --   messages-option may be one of the following:
6392    --
6393    --      DEFAULT (D)  No messages are output if there is no error or warning.
6394    --
6395    --      MEDIUM       A small number of messages are output.
6396    --
6397    --      HIGH         A great number of messages are output, most of them not
6398    --                   being useful for the user.
6399
6400    S_Stub_Output  : aliased constant S := "/OUTPUT=@"                      &
6401                                             "-o@";
6402    --        /OUTPUT=filespec
6403    --
6404    --   Body file name. This should be set if the argument file name does not
6405    --   follow the GNAT file naming conventions. If this switch is omitted,
6406    --   the default name for the body will be obtained from the argument file
6407    --   name according to the GNAT file naming conventions.
6408
6409    S_Stub_Project : aliased constant S := "/PROJECT_FILE=<"                &
6410                                             "-P>";
6411    --        /PROJECT_FILE=filename
6412    --
6413    --   Specifies the main project file to be used. The project files rooted
6414    --   at the main project file will be parsed before any other processing.
6415    --   The source and object directories to be searched will be communicated
6416    --   to gnatstub through logical names ADA_PRJ_INCLUDE_FILE and
6417    --   ADA_PRJ_OBJECTS_FILE.
6418
6419    S_Stub_Quiet   : aliased constant S := "/QUIET "                        &
6420                                             "-q";
6421    --        /NOQUIET (D)
6422    --        /QUIET
6423    --
6424    --   Quiet mode: do not generate a confirmation when a body is successfully
6425    --   created, and do not generate a message when a body is not required for
6426    --   an argument unit.
6427
6428    S_Stub_Search  : aliased constant S := "/SEARCH=*"                      &
6429                                             "-I*";
6430    --        /SEARCH=(directory[,...])
6431    --
6432    --    When looking for source files also look in directories specified.
6433
6434    S_Stub_Subdirs : aliased constant S := "/SUBDIRS=<"                     &
6435                                              "--subdirs=>";
6436    --        /SUBDIRS=dir
6437    --
6438    --   The actual directories (object, exec, library, ...) are subdirectories
6439    --   of the directory specified in the project file. If the subdirectory
6440    --   does not exist, it is created automatically.
6441
6442    S_Stub_Tree    : aliased constant S := "/TREE_FILE="                    &
6443                                             "OVERWRITE "                   &
6444                                                "-t "                       &
6445                                             "SAVE "                        &
6446                                                "-k "                       &
6447                                             "REUSE "                       &
6448                                                "-r";
6449    --        /TREE_FILE[=treefile-option]
6450    --
6451    --   Specify what to do with the tree file.
6452    --   treefile-option is one of the following:
6453    --
6454    --      OVERWRITE (D)  Overwrite the existing tree file. If the current
6455    --                     directory already contains the file which, according
6456    --                     to the GNAT file naming rules should be considered
6457    --                     as a tree file for the argument source file,
6458    --                     gnatstub will refuse to create the tree file needed
6459    --                     to create a sample body unless this option is chosen.
6460    --
6461    --      SAVE           Do not remove the tree file (i.e., the snapshot
6462    --                     of the compiler internal structures used by gnatstub)
6463    --                     after creating the body stub.
6464    --
6465    --      REUSE          Reuse the tree file (if it exists) instead of
6466    --                     creating it.
6467    --                     Instead of creating the tree file for the library
6468    --                     unit declaration, gnatstub tries to find it in the
6469    --                     current directory and use it for creating a body.
6470    --                     If the tree file is not found, no body is created.
6471    --                     This option also implies `SAVE', whether or not the
6472    --                     latter is set explicitly.
6473
6474    S_Stub_Verbose : aliased constant S := "/VERBOSE "                      &
6475                                             "-v";
6476    --        /NOVERBOSE (D)
6477    --        /VERBOSE
6478    --
6479    --   Verbose mode: generate version information.
6480
6481    Stub_Switches : aliased constant Switches :=
6482                      (S_Stub_Add        'Access,
6483                       S_Stub_Config     'Access,
6484                       S_Stub_Current    'Access,
6485                       S_Stub_Ext        'Access,
6486                       S_Stub_Follow     'Access,
6487                       S_Stub_Full       'Access,
6488                       S_Stub_Header     'Access,
6489                       S_Stub_Header_File'Access,
6490                       S_Stub_Indent     'Access,
6491                       S_Stub_Keep       'Access,
6492                       S_Stub_Length     'Access,
6493                       S_Stub_Mess       'Access,
6494                       S_Stub_Output     'Access,
6495                       S_Stub_Project    'Access,
6496                       S_Stub_Quiet      'Access,
6497                       S_Stub_Search     'Access,
6498                       S_Stub_Subdirs    'Access,
6499                       S_Stub_Tree       'Access,
6500                       S_Stub_Verbose    'Access);
6501
6502    ----------------------------
6503    -- Switches for GNAT SYNC --
6504    ----------------------------
6505
6506    S_Sync_Add    : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"       &
6507                                             "-aP*";
6508    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
6509    --
6510    --   Add directories to the project search path.
6511
6512    S_Sync_All    : aliased constant S := "/ALL "                           &
6513                                             "-a";
6514    --        /NOALL (D)
6515    --        /ALL
6516    --
6517    --   Also check the components of the GNAT run time and process the needed
6518    --  components of the GNAT RTL when building and analyzing the global
6519    --  structure for checking the global rules.
6520
6521    S_Sync_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'     &
6522                                              "-X" & '"';
6523    --       /EXTERNAL_REFERENCE="name=val"
6524    --
6525    --   Specifies an external reference to the project manager. Useful only if
6526    --   /PROJECT_FILE is used.
6527    --
6528    --   Example:
6529    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
6530
6531    S_Sync_Files  : aliased constant S := "/FILES=@"                        &
6532                                              "-files=@";
6533    --      /FILES=filename
6534    --
6535    --   Take as arguments the files that are listed in the specified
6536    --   text file.
6537
6538    S_Sync_Follow  : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
6539                                             "-eL";
6540    --        /NOFOLLOW_LINKS_FOR_FILES (D)
6541    --        /FOLLOW_LINKS_FOR_FILES
6542    --
6543    --    Follow links when parsing project files
6544
6545    S_Sync_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="        &
6546                                              "DEFAULT "                    &
6547                                                 "-vP0 "                    &
6548                                              "MEDIUM "                     &
6549                                                 "-vP1 "                    &
6550                                              "HIGH "                       &
6551                                                 "-vP2";
6552    --        /MESSAGES_PROJECT_FILE[=messages-option]
6553    --
6554    --   Specifies the "verbosity" of the parsing of project files.
6555    --   messages-option may be one of the following:
6556    --
6557    --      DEFAULT (D)  No messages are output if there is no error or warning.
6558    --
6559    --      MEDIUM       A small number of messages are output.
6560    --
6561    --      HIGH         A great number of messages are output, most of them not
6562    --                   being useful for the user.
6563
6564    S_Sync_Project : aliased constant S := "/PROJECT_FILE=<"                &
6565                                              "-P>";
6566    --        /PROJECT_FILE=filename
6567    --
6568    --   Specifies the main project file to be used. The project files rooted
6569    --   at the main project file will be parsed before the invocation of the
6570    --   gnatcheck. The source directories to be searched will be communicated
6571    --   to gnatcheck through logical name ADA_PRJ_INCLUDE_FILE.
6572
6573    S_Sync_Quiet  : aliased constant S := "/QUIET "                         &
6574                                             "-q";
6575    --        /NOQUIET (D)
6576    --        /QUIET
6577    --
6578    --   Work quietly, only output warnings and errors.
6579
6580    S_Sync_Subdirs : aliased constant S := "/SUBDIRS=<"                     &
6581                                              "--subdirs=>";
6582    --        /SUBDIRS=dir
6583    --
6584    --   The actual directories (object, exec, library, ...) are subdirectories
6585    --   of the directory specified in the project file. If the subdirectory
6586    --   does not exist, it is created automatically.
6587
6588    S_Sync_Verb   : aliased constant S := "/VERBOSE "                       &
6589                                             "-v";
6590    --        /NOVERBOSE (D)
6591    --        /VERBOSE
6592    --
6593    --   The version number and copyright notice are output, as well as exact
6594    --   copies of the gnat1 commands spawned to obtain the chop control
6595    --   information.
6596
6597    S_Sync_Exec   : aliased constant S := "/EXECUTION_TIME "                &
6598                                             "-t";
6599    --        /NOEXECUTION_TIME (D)
6600    --        /EXECUTION_TIME
6601    --
6602    --   Output the execution time
6603
6604    S_Sync_Details : aliased constant S := "/DETAILs="                      &
6605                                              "MEDIUM "                     &
6606                                                "-om "                      &
6607                                              "SHORT "                      &
6608                                                "-os "                      &
6609                                              "FULL "                       &
6610                                                "-of";
6611    --         /DETAILS[=options]
6612    --
6613    --   Specifies the details of the output.
6614    --   Options may be one of the following:
6615    --
6616    --       MEDIUM (D)
6617    --       SHORT
6618    --       FULL
6619
6620    S_Sync_Warnoff : aliased constant S := "/WARNINGS_OFF "                 &
6621                                              "-wq";
6622    --
6623    --         /WARNINGS_OFF
6624    --
6625    --   Turn warnings off
6626
6627    S_Sync_Output  : aliased constant S := "/OUTPUT_FILE=<"                 &
6628                                              "-out_file=>";
6629    --
6630    --        /OUTPUT_FILE=filename
6631    --
6632    --   Redirect output to a text file
6633
6634    Sync_Switches : aliased constant Switches :=
6635                       (S_Sync_Add      'Access,
6636                        S_Sync_All      'Access,
6637                        S_Sync_Ext      'Access,
6638                        S_Sync_Follow   'Access,
6639                        S_Sync_Files    'Access,
6640                        S_Sync_Mess     'Access,
6641                        S_Sync_Project  'Access,
6642                        S_Sync_Quiet    'Access,
6643                        S_Sync_Subdirs  'Access,
6644                        S_Sync_Verb     'Access,
6645                        S_Sync_Exec     'Access,
6646                        S_Sync_Details  'Access,
6647                        S_Sync_Warnoff  'Access,
6648                        S_Sync_Output   'Access);
6649
6650    ----------------------------
6651    -- Switches for GNAT XREF --
6652    ----------------------------
6653
6654    S_Xref_Add     : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*"      &
6655                                             "-aP*";
6656    --        /ADD_PROJECT_SEARCH_PATH=(directory[,...])
6657    --
6658    --   Add directories to the project search path.
6659
6660    S_Xref_All     : aliased constant S := "/ALL_FILES "                    &
6661                                             "-a";
6662    --        /NOALL_FILES (D)
6663    --        /ALL_FILES
6664    --
6665    --   If this switch is present, FIND and XREF will parse the read-only
6666    --   files found in the library search path. Otherwise, these files will
6667    --   be ignored. This option can be used to protect Gnat sources or your
6668    --   own libraries from being parsed, thus making FIND and XREF much
6669    --   faster, and their output much smaller.
6670
6671    S_Xref_Deriv   : aliased constant S := "/DERIVED_TYPES "                &
6672                                             "-d";
6673    --        /NODERIVED_TYPES (D)
6674    --        /DERIVED_TYPES
6675    --
6676    --   Output the parent type reference for each matching derived types.
6677
6678    S_Xref_Ext     : aliased constant S := "/EXTERNAL_REFERENCE=" & '"'     &
6679                                             "-X" & '"';
6680    --        /EXTERNAL_REFERENCE="name=val"
6681    --
6682    --   Specifies an external reference to the project manager. Useful only if
6683    --   /PROJECT_FILE is used.
6684    --
6685    --   Example:
6686    --      /EXTERNAL_REFERENCE="DEBUG=TRUE"
6687
6688    S_Xref_Follow  : aliased constant S := "/FOLLOW_LINKS_FOR_FILES "       &
6689                                             "-eL";
6690    --        /NOFOLLOW_LINKS_FOR_FILES (D)
6691    --        /FOLLOW_LINKS_FOR_FILES
6692    --
6693    --    Follow links when parsing project files
6694
6695    S_Xref_Full    : aliased constant S := "/FULL_PATHNAME "                &
6696                                             "-f";
6697    --        /NOFULL_PATHNAME (D)
6698    --        /FULL_PATHNAME
6699    --
6700    --   If this switch is set, the output file names will be preceded by their
6701    --   directory (if the file was found in the search path). If this switch
6702    --   is not set, the directory will not be printed.
6703
6704    S_Xref_Global  : aliased constant S := "/IGNORE_LOCALS "                &
6705                                             "-g";
6706    --        /NOIGNORE_LOCALS (D)
6707    --        /IGNORE_LOCALS
6708    --
6709    --   If this switch is set, information is output only for library-level
6710    --   entities, ignoring local entities. The use of this switch may
6711    --   accelerate FIND and XREF.
6712
6713    S_Xref_Mess    : aliased constant S := "/MESSAGES_PROJECT_FILE="        &
6714                                             "DEFAULT "                     &
6715                                                "-vP0 "                     &
6716                                             "MEDIUM "                      &
6717                                                "-vP1 "                     &
6718                                             "HIGH "                        &
6719                                                "-vP2";
6720    --        /MESSAGES_PROJECT_FILE[=messages-option]
6721    --
6722    --   Specifies the "verbosity" of the parsing of project files.
6723    --   messages-option may be one of the following:
6724    --
6725    --      DEFAULT (D)  No messages are output if there is no error or warning.
6726    --
6727    --      MEDIUM       A small number of messages are output.
6728    --
6729    --      HIGH         A great number of messages are output, most of them not
6730    --                   being useful for the user.
6731
6732    S_Xref_Nostinc : aliased constant S := "/NOSTD_INCLUDES "               &
6733                                             "-nostdinc";
6734    --        /NOSTD_INCLUDES
6735    --
6736    --   Do not look for sources in the system default directory.
6737
6738    S_Xref_Nostlib : aliased constant S := "/NOSTD_LIBRARIES "              &
6739                                             "-nostdlib";
6740    --        /NOSTD_LIBRARIES
6741    --
6742    --   Do not look for library files in the system default directory.
6743
6744    S_Xref_Object  : aliased constant S := "/OBJECT_SEARCH=*"               &
6745                                             "-aO*";
6746    --        /OBJECT_SEARCH=(directory,...)
6747    --
6748    --   When searching for library and object files, look in the specified
6749    --   directories. The order in which library files are searched is the same
6750    --   as for MAKE.
6751
6752    S_Xref_Project : aliased constant S := "/PROJECT=@"                     &
6753                                             "-p@";
6754    --        /PROJECT=file
6755    --
6756    --   Specify a project file to use. By default, FIND and XREF will try to
6757    --   locate a project file in the current directory.
6758    --
6759    --   If a project file is either specified or found by the tools, then the
6760    --   content of the source directory and object directory lines are added
6761    --   as if they had been specified respectively by /SOURCE_SEARCH and
6762    --   /OBJECT_SEARCH.
6763
6764    S_Xref_Prj     : aliased constant S := "/PROJECT_FILE=<"                &
6765                                             "-P>";
6766    --        /PROJECT_FILE=filename
6767    --
6768    --   Specifies the main project file to be used. The project files rooted
6769    --   at the main project file will be parsed before doing any processing.
6770    --   The source and object directories to be searched will be communicated
6771    --   to gnatxref through logical names ADA_PRJ_INCLUDE_FILE and
6772    --   ADA_PRJ_OBJECTS_FILE.
6773
6774    S_Xref_Search  : aliased constant S := "/SEARCH=*"                      &
6775                                             "-I*";
6776    --        /SEARCH=(directory,...)
6777    --
6778    --   Equivalent to:
6779    --           /OBJECT_SEARCH=(directory,...) /SOURCE_SEARCH=(directory,...)
6780
6781    S_Xref_Source  : aliased constant S := "/SOURCE_SEARCH=*"               &
6782                                             "-aI*";
6783    --        /SOURCE_SEARCH=(directory,...)
6784    --
6785    --   When looking for source files also look in the specified directories.
6786    --   The order in which source file search is undertaken is the same as for
6787    --   MAKE.
6788
6789    S_Xref_Subdirs : aliased constant S := "/SUBDIRS=<"                     &
6790                                              "--subdirs=>";
6791    --        /SUBDIRS=dir
6792    --
6793    --   The actual directories (object, exec, library, ...) are subdirectories
6794    --   of the directory specified in the project file. If the subdirectory
6795    --   does not exist, it is created automatically.
6796
6797    S_Xref_Output  : aliased constant S := "/UNUSED "                       &
6798                                             "-u";
6799    --        /SOURCE_SEARCH=(directory,...)
6800    --
6801    --   When looking for source files also look in the specified directories.
6802    --   The order in which source file search is undertaken is the same as for
6803    --   MAKE.
6804
6805    S_Xref_Tags    : aliased constant S := "/TAGS "                         &
6806                                             "-v";
6807    --        /NOTAGS (D)
6808    --        /TAGS
6809    --
6810    --   Print a 'tags' file for vi.
6811
6812    Xref_Switches : aliased constant Switches :=
6813                      (S_Xref_Add     'Access,
6814                       S_Xref_All     'Access,
6815                       S_Xref_Deriv   'Access,
6816                       S_Xref_Ext     'Access,
6817                       S_Xref_Follow  'Access,
6818                       S_Xref_Full    'Access,
6819                       S_Xref_Global  'Access,
6820                       S_Xref_Mess    'Access,
6821                       S_Xref_Nostinc 'Access,
6822                       S_Xref_Nostlib 'Access,
6823                       S_Xref_Object  'Access,
6824                       S_Xref_Project 'Access,
6825                       S_Xref_Prj     'Access,
6826                       S_Xref_Search  'Access,
6827                       S_Xref_Source  'Access,
6828                       S_Xref_Subdirs 'Access,
6829                       S_Xref_Output  'Access,
6830                       S_Xref_Tags    'Access);
6831
6832 end VMS_Data;