aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gnatcmd.ads
blob: d769cb5b9b0efe1249f54725c59c826522f15a1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
------------------------------------------------------------------------------
--                                                                          --
--                         GNAT COMPILER COMPONENTS                         --
--                                                                          --
--                              G N A T C M D                               --
--                                                                          --
--                                 S p e c                                  --
--                                                                          --
--            Copyright (C) 1996 Free Software Foundation, Inc.             --
--                                                                          --
-- GNAT is free software;  you can  redistribute it  and/or modify it under --
-- terms of the  GNU General Public License as published  by the Free Soft- --
-- ware  Foundation;  either version 2,  or (at your option) any later ver- --
-- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
-- for  more details.  You should have  received  a copy of the GNU General --
-- Public License  distributed with GNAT;  see file COPYING.  If not, write --
-- to  the  Free Software Foundation,  51  Franklin  Street,  Fifth  Floor, --
-- Boston, MA 02110-1301, USA.                                              --
--                                                                          --
-- GNAT was originally developed  by the GNAT team at  New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc.      --
--                                                                          --
------------------------------------------------------------------------------

--  This program provides a simple command interface for using GNAT and its
--  associated utilities. The format of switches accepted is intended to
--  be more familiar in style for VMS and DOS users than the standard Unix
--  style switches that are accepted directly.

--    The program is typically called GNAT when it is installed and
--    the two possibile styles of use are:

--  To call gcc:

--    GNAT filename switches

--  To call the tool gnatxxx

--    GNAT xxx filename switches

--  where xxx is the command name (e.g. MAKE for gnatmake). This command name
--  can be abbreviated by giving a prefix (e.g. GNAT MAK) as long as it
--  remains unique.

--  In both cases, filename is in the format appropriate to the operating
--  system in use. The individual commands give more details. In some cases
--  a unit name may be given in place of a file name.

--  The switches start with a slash. Switch names can also be abbreviated
--  where no ambiguity arises. The switches associated with each command
--  are specified by the tables that can be found in the body.

--  Although by convention we use upper case for command names and switches
--  in the documentation, all command and switch names are case insensitive
--  and may be given in upper case or lower case or a mixture.

procedure GNATCmd;