ffa_ch1_genesis.kv 1
ffa_ch1_genesis.kv 2
ffa_ch1_genesis.kv 3
ffa_ch1_genesis.kv 4
ffa_ch15_gcd.kv 5
ffa_ch1_genesis.kv 6
ffa_ch1_genesis.kv 7
ffa_ch1_genesis.kv 8
ffa_ch1_genesis.kv 9
ffa_ch1_genesis.kv 10
ffa_ch1_genesis.kv 11
ffa_ch1_genesis.kv 12
ffa_ch1_genesis.kv 13
ffa_ch1_genesis.kv 14
ffa_ch1_genesis.kv 15
ffa_ch1_genesis.kv 16
ffa_ch1_genesis.kv 17
ffa_ch1_genesis.kv 18
ffa_ch1_genesis.kv 19
ffa_ch1_genesis.kv 20 project FFA is
ffa_ch1_genesis.kv 21
ffa_ch1_genesis.kv 22 for Object_Dir use "obj";
ffa_ch1_genesis.kv 23
ffa_ch1_genesis.kv 24 type Mode_Type is ("debug", "release");
ffa_ch1_genesis.kv 25 Mode : Mode_Type := external ("mode", "release");
ffa_ch1_genesis.kv 26
ffa_ch1_genesis.kv 27 for Languages use ("Ada");
ffa_ch1_genesis.kv 28 for Source_Dirs use (".");
ffa_ch1_genesis.kv 29 for Library_Dir use "lib";
ffa_ch1_genesis.kv 30 for Library_Name use "FFA";
ffa_ch1_genesis.kv 31 for Library_Kind use "static";
ffa_ch1_genesis.kv 32
ffa_ch1_genesis.kv 33 package Binder is
ffa_ch1_genesis.kv 34 case Mode is
ffa_ch1_genesis.kv 35 when "debug" =>
ffa_ch1_genesis.kv 36 for Switches ("Ada")
ffa_ch1_genesis.kv 37 use ();
ffa_ch1_genesis.kv 38 when "release" =>
ffa_ch1_genesis.kv 39 for Switches ("Ada")
ffa_ch1_genesis.kv 40 use ("-static", "-r");
ffa_ch1_genesis.kv 41 end case;
ffa_ch1_genesis.kv 42 end Binder;
ffa_ch1_genesis.kv 43
ffa_ch1_genesis.kv 44 package Builder is
ffa_ch1_genesis.kv 45 for Switches ("Ada")
ffa_ch1_genesis.kv 46 use ("-nostdlib");
ffa_ch1_genesis.kv 47 end Builder;
ffa_ch1_genesis.kv 48
ffa_ch1_genesis.kv 49 package Compiler is
ffa_ch1_genesis.kv 50 case Mode is
ffa_ch1_genesis.kv 51 when "debug" =>
ffa_ch1_genesis.kv 52 for Switches ("Ada")
ffa_ch1_genesis.kv 53 use ("-g");
ffa_ch1_genesis.kv 54 when "release" =>
ffa_ch1_genesis.kv 55 for Switches ("Ada")
ffa_ch1_genesis.kv 56 use ("-O2", "-fdump-scos", "-gnata", "-fstack-check",
ffa_ch11_tuning_a... 57 "-gnatyd", "-gnatym",
ffa_ch11_tuning_a... 58 "-fdata-sections", "-ffunction-sections", "-gnatwr", "-gnatw.d",
ffa_ch1_genesis.kv 59 "-gnatec=" & FFA'Project_Dir & "restrict.adc");
ffa_ch1_genesis.kv 60 end case;
ffa_ch1_genesis.kv 61 end Compiler;
ffa_ch1_genesis.kv 62
ffa_ch1_genesis.kv 63 end FFA;