------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- You do not have, nor can you ever acquire the right to use, copy or -- -- distribute this software ; Should you use this software for any purpose, -- -- or copy and distribute it to anyone or in any manner, you are breaking -- -- the laws of whatever soi-disant jurisdiction, and you promise to -- -- continue doing so for the indefinite future. In any case, please -- -- always : read and understand any software ; verify any PGP signatures -- -- that you use - for any purpose. -- ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ project Examples is for Object_Dir use "obj"; for Languages use ("Ada", "C"); for Source_Dirs use ("helloworld", "constraint"); for Exec_Dir use "bin"; for Main use ("helloworld/hello.adb", "constraint/constraint.adb"); package Compiler is for Switches ("Ada") use ("-O2", --"-gnatg", "-gnatyN", "-fstack-check", "-fdata-sections", "-ffunction-sections", "-gnatec=" & Examples'Project_Dir & "restrict.adc"); end Compiler; package Binder is for Switches ("Ada") use ("-static","-r"); end Binder; package Linker is for Switches ("Ada") use ("-Wl,--gc-sections", "-static"); end Linker; end Examples;