PR c++/3637
[official-gcc.git] / gcc / ada / gnatcmd.ads
blob3a1344b8c7e463ce508fdd9e589045a68f8ad239
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- G N A T C M D --
6 -- --
7 -- S p e c --
8 -- --
9 -- $Revision: 1.1 $ --
10 -- --
11 -- Copyright (C) 1996 Free Software Foundation, Inc. --
12 -- --
13 -- GNAT is free software; you can redistribute it and/or modify it under --
14 -- terms of the GNU General Public License as published by the Free Soft- --
15 -- ware Foundation; either version 2, or (at your option) any later ver- --
16 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
17 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
18 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
19 -- for more details. You should have received a copy of the GNU General --
20 -- Public License distributed with GNAT; see file COPYING. If not, write --
21 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
22 -- MA 02111-1307, USA. --
23 -- --
24 -- GNAT was originally developed by the GNAT team at New York University. --
25 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
26 -- --
27 ------------------------------------------------------------------------------
29 -- This program provides a simple command interface for using GNAT and its
30 -- associated utilities. The format of switches accepted is intended to
31 -- be more familiar in style for VMS and DOS users than the standard Unix
32 -- style switches that are accepted directly.
34 -- The program is typically called GNAT when it is installed and
35 -- the two possibile styles of use are:
37 -- To call gcc:
39 -- GNAT filename switches
41 -- To call the tool gnatxxx
43 -- GNAT xxx filename switches
45 -- where xxx is the command name (e.g. MAKE for gnatmake). This command name
46 -- can be abbreviated by giving a prefix (e.g. GNAT MAK) as long as it
47 -- remains unique.
49 -- In both cases, filename is in the format appropriate to the operating
50 -- system in use. The individual commands give more details. In some cases
51 -- a unit name may be given in place of a file name.
53 -- The switches start with a slash. Switch names can also be abbreviated
54 -- where no ambiguity arises. The switches associated with each command
55 -- are specified by the tables that can be found in the body.
57 -- Although by convention we use upper case for command names and switches
58 -- in the documentation, all command and switch names are case insensitive
59 -- and may be given in upper case or lower case or a mixture.
61 procedure GNATCmd;