home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
gnat-2.06-src.tgz
/
tar.out
/
fsf
/
gnat
/
ada
/
bindusg.adb
< prev
next >
Wrap
Text File
|
1996-09-28
|
4KB
|
148 lines
------------------------------------------------------------------------------
-- --
-- GBIND BINDER COMPONENTS --
-- --
-- B I N D U S G --
-- --
-- B o d y --
-- --
-- $Revision: 1.22 $ --
-- --
-- Copyright (c) 1992,1993,1994,1995 NYU, All Rights Reserved --
-- --
-- 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, 675 Mass Ave, Cambridge, MA 02139, USA. --
-- --
------------------------------------------------------------------------------
with Osint; use Osint;
with Output; use Output;
procedure Bindusg is
procedure Write_Switch_Char;
-- Write two spaces followed by appropriate switch character
procedure Write_Switch_Char is
begin
Write_Str (" ");
Write_Char (Switch_Character);
end Write_Switch_Char;
-- Start of processing for Bindusg
begin
-- Usage line
Write_Str ("Usage: ");
Write_Program_Name;
Write_Char (' ');
Write_Str ("switches lfile");
Write_Eol;
Write_Eol;
-- Line for -b switch
Write_Switch_Char;
Write_Str ("b Generate brief messages to std");
Write_Str ("err even if verbose mode set");
Write_Eol;
-- Line for -c switch
Write_Switch_Char;
Write_Str ("c Check only, no generation of b");
Write_Str ("inder output file");
Write_Eol;
-- Line for -e switch
Write_Switch_Char;
Write_Str ("e Output complete list of elabor");
Write_Str ("ation order dependencies");
Write_Eol;
-- Line for -I switch
Write_Switch_Char;
Write_Str ("Idir Specify library and source files search path");
Write_Eol;
-- Line for -l switch
Write_Switch_Char;
Write_Str ("l Output chosen elaboration order");
Write_Eol;
-- Line for -m switch
Write_Switch_Char;
Write_Str ("mnnn Limit number of detected error");
Write_Str ("s to nnn (1-999)");
Write_Eol;
-- Line for -n switch
Write_Switch_Char;
Write_Str ("n No main program");
Write_Eol;
-- Line for -o switch
Write_Switch_Char;
Write_Str ("o file give the Output name (default is b_xxx.c) ");
Write_Eol;
-- Line for -s switch
Write_Switch_Char;
Write_Str ("s Require all source files to be");
Write_Str (" present");
Write_Eol;
-- Line for -t switch
Write_Switch_Char;
Write_Str ("t Ignore time stamp errors");
Write_Eol;
-- Line for -v switch
Write_Switch_Char;
Write_Str ("v Verbose mode. Error messages,");
Write_Str ("header, summary output to stdout");
Write_Eol;
-- Lines for -w switch
Write_Switch_Char;
Write_Str ("wx Warning mode. (x=s/e for supp");
Write_Str ("ress/treat as error)");
Write_Eol;
-- Line for -x switch
Write_Switch_Char;
Write_Str ("x Exclude source files (check ob");
Write_Str ("ject consistency only");
Write_Eol;
-- Line for sfile
Write_Str (" lfile Library file names");
-- ??? Wild cards don't work under OS/2 at present.
-- if OS_2 then
-- Write_Str (" (wild cards allowed for multiple files)");
-- end if;
Write_Eol;
end Bindusg;