/usr/share/gprconfig/asm.xml is in gprbuild 2014dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <?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") &
("-c", "-x", "assembler-with-cpp");
for Include_Path ("Asm_Cpp") use "CPATH";
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") &
("-c", "-x", "assembler");
for Include_Path ("Asm") use "CPATH";
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") &
("-c", "-x", "assembler");
for Include_Path ("Asm2") use "CPATH";
end Compiler;
</config>
</configuration>
</gprconfig>
|