-
+ 534D9E5E0760D171256E721E59C6D0EB9EE0ED88518B60E661E048E45F3168AAAB9A06D6BEDB6EA332FF84686F0F9A47078F7ADBB9F32F5F392E2959484F4D4D
zfp/examples/examples.gpr
(0 . 0)(1 . 42)
50 ------------------------------------------------------------------------------
51 ------------------------------------------------------------------------------
52 -- You do not have, nor can you ever acquire the right to use, copy or --
53 -- distribute this software ; Should you use this software for any purpose, --
54 -- or copy and distribute it to anyone or in any manner, you are breaking --
55 -- the laws of whatever soi-disant jurisdiction, and you promise to --
56 -- continue doing so for the indefinite future. In any case, please --
57 -- always : read and understand any software ; verify any PGP signatures --
58 -- that you use - for any purpose. --
59 ------------------------------------------------------------------------------
60 ------------------------------------------------------------------------------
61
62
63 project Examples is
64
65 for Object_Dir use "obj";
66
67 for Languages use ("Ada", "C");
68 for Source_Dirs use ("helloworld", "constraint");
69 for Exec_Dir use "bin";
70 for Main use ("helloworld/hello.adb", "constraint/constraint.adb");
71
72
73 package Compiler is
74 for Switches ("Ada")
75 use ("-O2", --"-gnatg", "-gnatyN",
76 "-fstack-check",
77 "-fdata-sections", "-ffunction-sections",
78 "-gnatec=" & Examples'Project_Dir & "restrict.adc");
79 end Compiler;
80
81 package Binder is
82 for Switches ("Ada")
83 use ("-static","-r");
84 end Binder;
85
86 package Linker is
87 for Switches ("Ada")
88 use ("-Wl,--gc-sections", "-static");
89 end Linker;
90
91 end Examples;