OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [ada/] [osint-m.adb] - Blame information for rev 20

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
------------------------------------------------------------------------------
2
--                                                                          --
3
--                         GNAT COMPILER COMPONENTS                         --
4
--                                                                          --
5
--                              O S I N T - M                               --
6
--                                                                          --
7
--                                 B o d y                                  --
8
--                                                                          --
9
--          Copyright (C) 2001-2005, Free Software Foundation, Inc.         --
10
--                                                                          --
11
-- GNAT is free software;  you can  redistribute it  and/or modify it under --
12
-- terms of the  GNU General Public License as published  by the Free Soft- --
13
-- ware  Foundation;  either version 2,  or (at your option) any later ver- --
14
-- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
15
-- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
16
-- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
17
-- for  more details.  You should have  received  a copy of the GNU General --
18
-- Public License  distributed with GNAT;  see file COPYING.  If not, write --
19
-- to  the  Free Software Foundation,  51  Franklin  Street,  Fifth  Floor, --
20
-- Boston, MA 02110-1301, USA.                                              --
21
--                                                                          --
22
-- GNAT was originally developed  by the GNAT team at  New York University. --
23
-- Extensive contributions were provided by Ada Core Technologies Inc.      --
24
--                                                                          --
25
------------------------------------------------------------------------------
26
 
27
with Osint;
28
 
29
pragma Elaborate_All (Osint);
30
--  This pragma is needed because of the call to Set_Program in the
31
--  elaboration of the package. We cannot rely on the static model
32
--  of elaboration since the compiler is routinely compiled with
33
--  checks off (-gnatp), and with older versions of the compiler
34
--  (up to and including most 5.04 wavefronts), -gnatp suppresses
35
--  the static elaboration check mechanisms. It could be removed
36
--  one day, but there really is no need to do so.
37
 
38
package body Osint.M is
39
 
40
   -----------------------
41
   -- More_Source_Files --
42
   -----------------------
43
 
44
   function More_Source_Files return Boolean renames More_Files;
45
 
46
   ----------------------
47
   -- Next_Main_Source --
48
   ----------------------
49
 
50
   function Next_Main_Source return File_Name_Type renames Next_Main_File;
51
 
52
   ----------------------
53
   -- Object_File_Name --
54
   ----------------------
55
 
56
   function Object_File_Name (N : File_Name_Type) return File_Name_Type
57
     renames Osint.Object_File_Name;
58
 
59
begin
60
   Set_Program (Make);
61
end Osint.M;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.