* sh.h (REG_CLASS_FROM_LETTER): Change to:
[official-gcc.git] / gcc / ada / mlib-tgt.adb
blobc5ec4fa59e89eec61a3814cb93bd82d08e0f6f14
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- M L I B . T G T --
6 -- (Default Version) --
7 -- --
8 -- B o d y --
9 -- --
10 -- Copyright (C) 2001, Ada Core Technologies, Inc. --
11 -- --
12 -- GNAT is free software; you can redistribute it and/or modify it under --
13 -- terms of the GNU General Public License as published by the Free Soft- --
14 -- ware Foundation; either version 2, or (at your option) any later ver- --
15 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
16 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
17 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
18 -- for more details. You should have received a copy of the GNU General --
19 -- Public License distributed with GNAT; see file COPYING. If not, write --
20 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
21 -- MA 02111-1307, USA. --
22 -- --
23 -- GNAT was originally developed by the GNAT team at New York University. --
24 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
25 -- --
26 ------------------------------------------------------------------------------
28 -- This is the default version which does not support libraries.
29 -- All subprograms are dummies, because they are never called,
30 -- except Libraries_Are_Supported which returns False.
32 package body MLib.Tgt is
34 pragma Warnings (Off); -- stop warnings on unreferenced formals
36 -----------------
37 -- Archive_Ext --
38 -----------------
40 function Archive_Ext return String is
41 begin
42 return "";
43 end Archive_Ext;
45 -----------------
46 -- Base_Option --
47 -----------------
49 function Base_Option return String is
50 begin
51 return "";
52 end Base_Option;
54 ---------------------------
55 -- Build_Dynamic_Library --
56 ---------------------------
58 procedure Build_Dynamic_Library
59 (Ofiles : Argument_List;
60 Foreign : Argument_List;
61 Afiles : Argument_List;
62 Options : Argument_List;
63 Lib_Filename : String;
64 Lib_Dir : String;
65 Lib_Address : String := "";
66 Lib_Version : String := "";
67 Relocatable : Boolean := False)
69 begin
70 null;
71 end Build_Dynamic_Library;
73 --------------------
74 -- Copy_ALI_Files --
75 --------------------
77 procedure Copy_ALI_Files
78 (From : Name_Id;
79 To : Name_Id)
81 begin
82 null;
83 end Copy_ALI_Files;
85 -------------------------
86 -- Default_DLL_Address --
87 -------------------------
89 function Default_DLL_Address return String is
90 begin
91 return "";
92 end Default_DLL_Address;
94 -------------
95 -- DLL_Ext --
96 -------------
98 function DLL_Ext return String is
99 begin
100 return "";
101 end DLL_Ext;
103 --------------------
104 -- Dynamic_Option --
105 --------------------
107 function Dynamic_Option return String is
108 begin
109 return "";
110 end Dynamic_Option;
112 -------------------
113 -- Is_Object_Ext --
114 -------------------
116 function Is_Object_Ext (Ext : String) return Boolean is
117 begin
118 return False;
119 end Is_Object_Ext;
121 --------------
122 -- Is_C_Ext --
123 --------------
125 function Is_C_Ext (Ext : String) return Boolean is
126 begin
127 return False;
128 end Is_C_Ext;
130 --------------------
131 -- Is_Archive_Ext --
132 --------------------
134 function Is_Archive_Ext (Ext : String) return Boolean is
135 begin
136 return False;
137 end Is_Archive_Ext;
139 -------------
140 -- Libgnat --
141 -------------
143 function Libgnat return String is
144 begin
145 return "libgnat.a";
146 end Libgnat;
148 -----------------------------
149 -- Libraries_Are_Supported --
150 -----------------------------
152 function Libraries_Are_Supported return Boolean is
153 begin
154 return False;
155 end Libraries_Are_Supported;
157 --------------------------------
158 -- Linker_Library_Path_Option --
159 --------------------------------
161 function Linker_Library_Path_Option
162 (Directory : String)
163 return String_Access
165 begin
166 return null;
167 end Linker_Library_Path_Option;
169 ----------------
170 -- Object_Ext --
171 ----------------
173 function Object_Ext return String is
174 begin
175 return "";
176 end Object_Ext;
178 ----------------
179 -- PIC_Option --
180 ----------------
182 function PIC_Option return String is
183 begin
184 return "";
185 end PIC_Option;
187 end MLib.Tgt;