1 ------------------------------------------------------------------------------
3 -- GNAT COMPILER COMPONENTS --
6 -- (Default Version) --
12 -- Copyright (C) 2001, Ada Core Technologies, Inc. --
14 -- GNAT is free software; you can redistribute it and/or modify it under --
15 -- terms of the GNU General Public License as published by the Free Soft- --
16 -- ware Foundation; either version 2, or (at your option) any later ver- --
17 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
18 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
19 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
20 -- for more details. You should have received a copy of the GNU General --
21 -- Public License distributed with GNAT; see file COPYING. If not, write --
22 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
23 -- MA 02111-1307, USA. --
25 -- GNAT was originally developed by the GNAT team at New York University. --
26 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
28 ------------------------------------------------------------------------------
30 -- This is the default version which does not support libraries.
31 -- All subprograms are dummies, because they are never called,
32 -- except Libraries_Are_Supported which returns False.
34 package body MLib.Tgt is
36 pragma Warnings (Off); -- stop warnings on unreferenced formals
42 function Archive_Ext return String is
51 function Base_Option return String is
56 ---------------------------
57 -- Build_Dynamic_Library --
58 ---------------------------
60 procedure Build_Dynamic_Library
61 (Ofiles : Argument_List;
62 Foreign : Argument_List;
63 Afiles : Argument_List;
64 Options : Argument_List;
65 Lib_Filename : String;
67 Lib_Address : String := "";
68 Lib_Version : String := "";
69 Relocatable : Boolean := False)
73 end Build_Dynamic_Library;
79 procedure Copy_ALI_Files
87 -------------------------
88 -- Default_DLL_Address --
89 -------------------------
91 function Default_DLL_Address return String is
94 end Default_DLL_Address;
100 function DLL_Ext return String is
109 function Dynamic_Option return String is
118 function Is_Object_Ext (Ext : String) return Boolean is
127 function Is_C_Ext (Ext : String) return Boolean is
136 function Is_Archive_Ext (Ext : String) return Boolean is
145 function Libgnat return String is
150 -----------------------------
151 -- Libraries_Are_Supported --
152 -----------------------------
154 function Libraries_Are_Supported return Boolean is
157 end Libraries_Are_Supported;
159 --------------------------------
160 -- Linker_Library_Path_Option --
161 --------------------------------
163 function Linker_Library_Path_Option
169 end Linker_Library_Path_Option;
175 function Object_Ext return String is
184 function PIC_Option return String is