File: config.xml

package info (click to toggle)
babel 0.10.2-1
  • links: PTS
  • area: contrib
  • in suites: sarge
  • size: 43,932 kB
  • ctags: 29,707
  • sloc: java: 74,695; ansic: 73,142; cpp: 40,649; sh: 18,411; f90: 10,062; fortran: 6,727; python: 6,406; makefile: 3,866; xml: 118; perl: 48
file content (95 lines) | stat: -rw-r--r-- 2,833 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version='1.0' encoding='us-ascii'?>
<!--
   File:        config.xml
   Package:     configuration database
   Copyright:   (c) 2000 The Regents of the University of California
   Revision:    @(#) $Id: config.xml 4434 2005-03-17 17:05:29Z epperly $
   Description: XML description of machine configuration profiles

   This file defines the default machine configurations for the Babel
   compiler.  To add a new configuration, create a Language element,
   define a Profile name, and add the appropriate configuration selections
   in the Options element.
-->

<!DOCTYPE Configuration SYSTEM "config.dtd">

<Configuration>

   <!--
      The following defines configurations for the generation of C stubs
      and skeletons in the Babel compiler.
   -->

   <Language name="C"/>

   <!--
      The following defines configurations for the generation of C++ stubs
      and skeletons in the Babel compiler.
   -->

   <Language name="C++">

      <Profile name="ANSI/ISO C++">
         <Description summary="generate code for ANSI/ISO C++ compilers">
         </Description>
      </Profile>

      <Options>
         <Selection option = "use namespaces"
                    value  = "true"/>
         <Selection option = "have reinterpret cast"
                    value  = "true"/>
      </Options>

   </Language>

   <!--
      The following defines configurations for the generation of Fortran 77
      stubs and skeletons in the Babel compiler.
   -->

   <Language name="Fortran77">

      <Profile name="SunOS Fortran 77">
         <Description summary="generate code for the SunOS f77 compiler">
         </Description>
         <Architecture cpu="sparc" os="SunOS"/>
         <Compiler name="f77"/>
      </Profile>

      <Options>
         <Selection option = "mangling"
                    value  = "to lower case"/>
         <Selection option = "underscore"
                    value  = "one"/>
         <Selection option = "string arguments"
                    value  = "length at end of argument list"/>
         <Selection option = "string return"
                    value  = "argument with string first"/>
      </Options>

   </Language>

   <Language name="Fortran77">

      <Profile name="GNU Fortran 77">
         <Description summary="generate code for the GNU g77 compiler">
         </Description>
         <Compiler name="g77"/>
      </Profile>

      <Options>
         <Selection option = "mangling"
                    value  = "to lower case"/>
         <Selection option = "underscore"
                    value  = "two"/>
         <Selection option = "string arguments"
                    value  = "length at end of argument list"/>
         <Selection option = "string return"
                    value  = "argument with string first"/>
      </Options>

   </Language>

</Configuration>