-
Notifications
You must be signed in to change notification settings - Fork 0
/
due.gpr
32 lines (24 loc) · 846 Bytes
/
due.gpr
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
with "../Ada-Lisp-Embedded/ada_lisp_embedded_due.gpr";
with "../Ada-Lisp/bbs_lisp.gpr";
with "../BBS-BBB-Ada/bbs_embed.gpr";
with "../BBS-Ada/bbs.gpr";
project Due is
for Source_Dirs use ("src");
for Object_Dir use "obj";
for Main use ("main.adb");
for Target use "arm-eabi";
for Runtime ("ada") use "ravenscar-sfp-sam3x8e";
for Exec_Dir use ".";
package Compiler is
for Switches ("ada") use ("-gnat12", "-O", "-gnato", "-gnata", "-g", "-gnatw.Xfkru");
end Compiler;
package Builder is
for Switches ("ada") use ("-s", "-j4", "-g", "--create-map-file");
end Builder;
package Linker is
for Switches ("ada") use ("-Wl,--defsym=__stack_size=0x2000,--gc-sections", "-g", "-Wl,--gc-sections");
end Linker;
package Binder is
for Switches ("ada") use ("-r");
end Binder;
end Due;