forked from Fabien-Chouteau/bare_runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruntime.xml
More file actions
37 lines (32 loc) · 1.15 KB
/
Copy pathruntime.xml
File metadata and controls
37 lines (32 loc) · 1.15 KB
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
<?xml version="1.0" ?>
<gprconfig>
<configuration>
<config><![CDATA[
package Compiler is
Common_Required_Switches :=
External_As_List ("BARE_RUNTIME_SWITCHES", " ");
for Leading_Required_Switches ("Ada") use
Compiler'Leading_Required_Switches ("Ada") &
Common_Required_Switches;
for Leading_Required_Switches ("C") use
Compiler'Leading_Required_Switches ("C") &
Common_Required_Switches;
for Leading_Required_Switches ("Asm") use
Compiler'Leading_Required_Switches ("Asm") &
Common_Required_Switches;
for Leading_Required_Switches ("Asm2") use
Compiler'Leading_Required_Switches ("Asm2") &
Common_Required_Switches;
for Leading_Required_Switches ("Asm_Cpp") use
Compiler'Leading_Required_Switches ("Asm_Cpp") &
Common_Required_Switches;
end Compiler;
package Linker is
for Required_Switches use Linker'Required_Switches &
("-Wl,-L${RUNTIME_DIR(Ada)}/adalib", "-nostartfiles", "-nolibc") &
Compiler.Common_Required_Switches;
end Linker;
]]>
</config>
</configuration>
</gprconfig>