File: asm.xml

package info (click to toggle)
gprbuild 2015-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,228 kB
  • ctags: 67
  • sloc: ada: 27,214; xml: 4,127; makefile: 337; sh: 227; cpp: 89; fortran: 62; ansic: 37
file content (67 lines) | stat: -rw-r--r-- 1,992 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
<?xml version="1.0" ?>
<gprconfig>
   <!--  This package provides the default standard options for a gcc
         Asm compiler -->

   <configuration>
     <compilers>
       <compiler name="GCC-ASM" language="Asm_Cpp" />
     </compilers>
     <config>
   package Naming is
      for Body_Suffix ("Asm_Cpp") use ".S";
   end Naming;

   package Compiler is
      for Driver            ("Asm_Cpp") use "${PATH(asm_cpp)}${PREFIX(asm_cpp)}gcc";
      for Leading_Required_Switches ("Asm_Cpp") use
         Compiler'Leading_Required_Switches ("Asm_Cpp") &amp;
         ("-c", "-x", "assembler-with-cpp");
      for Include_Path      ("Asm_Cpp") use "CPATH";
      for Dependency_Switches ("Asm_Cpp") use ("-MMD", "-MF", "");
   end Compiler;
     </config>
   </configuration>

   <configuration>
     <compilers>
       <compiler name="GCC-ASM" language="Asm" />
     </compilers>
     <config>

   package Naming is
      for Body_Suffix ("Asm") use ".s";
   end Naming;

   package Compiler is
      for Driver            ("Asm") use "${PATH(asm)}${PREFIX(asm)}gcc";
      for Leading_Required_Switches ("Asm") use
        Compiler'Leading_Required_Switches ("Asm") &amp;
        ("-c", "-x", "assembler");
      for Include_Path      ("Asm") use "CPATH";
      for Dependency_Switches ("Asm") use ("-MMD", "-MF", "");
   end Compiler;
     </config>
   </configuration>

   <configuration>
     <compilers>
       <compiler name="GCC-ASM" language="Asm2" />
     </compilers>
     <config>

   package Naming is
      for Body_Suffix ("Asm2") use ".asm";
   end Naming;

   package Compiler is
      for Driver            ("Asm2") use "${PATH(asm2)}${PREFIX(asm2)}gcc";
      for Leading_Required_Switches ("Asm2") use
        Compiler'Leading_Required_Switches ("Asm2") &amp;
        ("-c", "-x", "assembler");
      for Include_Path      ("Asm2") use "CPATH";
      for Dependency_Switches ("Asm2") use ("-MMD", "-MF", "");
   end Compiler;
     </config>
   </configuration>
</gprconfig>