OSDN Git Service

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