Daily bump.
[official-gcc.git] / gcc / ada / mdlltool.ads
blob77e251bc6ced4ccf487b1f54c7e3a54083bf7dfd
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- M D L L . T O O L S --
6 -- --
7 -- S p e c --
8 -- --
9 -- $Revision: 1.1 $
10 -- --
11 -- Copyright (C) 1992-1999 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 -- Extensive contributions were provided by Ada Core Technologies Inc. --
26 -- --
27 ------------------------------------------------------------------------------
29 -- Interface to externals tools used to build DLL and import libraries
31 package MDLL.Tools is
33 procedure Delete_File (Filename : in String);
34 -- delete the file filename from the file system.
36 procedure Dlltool (Def_Filename : in String;
37 DLL_Name : in String;
38 Library : in String;
39 Exp_Table : in String := "";
40 Base_File : in String := "";
41 Build_Import : in Boolean);
42 -- run dlltool binary.
43 -- this tools is used to build an import library and an export table
45 procedure Gcc (Output_File : in String;
46 Files : in Argument_List;
47 Options : in Argument_List;
48 Base_File : in String := "";
49 Build_Lib : in Boolean := False);
50 -- run gcc binary.
52 procedure Gnatbind (Alis : in Argument_List;
53 Args : in Argument_List := Null_Argument_List);
54 -- run gnatbind binary to build the binder program.
55 -- it runs the command : gnatbind -n alis... to build the binder program.
57 procedure Gnatlink (Ali : in String;
58 Args : in Argument_List := Null_Argument_List);
59 -- run gnatlink binary.
60 -- it runs the command : gnatlink ali arg1 arg2...
62 procedure Locate;
63 -- look for the needed tools in the path and record the full path for each
64 -- one in a variable.
66 end MDLL.Tools;