From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c15063243269efcd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news1.tnib.de!feed.news.tnib.de!news.tnib.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Meet the new GPS...same as the old GPS... Date: Tue, 27 Jun 2006 17:13:14 +0200 Message-ID: <4gd053F1maftdU1@individual.net> References: <1151320748.360707.79490@u72g2000cwu.googlegroups.com> <4gag1vF1lgt2gU1@individual.net> <1151343516.598780.72970@m73g2000cwd.googlegroups.com> <4gcq77F1mpfpsU1@individual.net> <1151417657.725848.229020@75g2000cwc.googlegroups.com> <4gcu45F1n4tffU1@individual.net> <1151419844.957473.214400@m73g2000cwd.googlegroups.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart1616988.sqt9v8D5Yt" Content-Transfer-Encoding: 7Bit X-Trace: individual.net IITtWIEJCZMV8NVryR/VFwuhyDrlpI9B9Ib2diNwIF3s8gKwg= User-Agent: KNode/0.10.2 Xref: g2news2.google.com comp.lang.ada:5070 Date: 2006-06-27T17:13:14+02:00 List-Id: --nextPart1616988.sqt9v8D5Yt Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit randomm@mindless.com wrote: > Thanks very much, I'll have a look there. Alas, I won't have a sample > project file to look at since GPS is now gone from my machine. I attach my base project file for your convenience. It has nothing special but my selection of switches for the compiler tools. --nextPart1616988.sqt9v8D5Yt Content-Type: text/plain; name="template.gpr" Content-Transfer-Encoding: 8Bit Content-Disposition: attachment; filename="template.gpr" project Template is type Build_Type is ("Debug", "Release", "No_Options", "Profile"); Build : Build_Type := external ("Build", "Debug"); for Source_Dirs use ("."); for Object_Dir use "obj"; for Exec_Dir use "obj"; for Languages use ("ada"); for Main use ("main.adb"); package Ide is for Vcs_Kind use "Subversion"; end Ide; package Compiler is for Default_Switches ("c") use ("-g"); for Default_Switches ("ada") use ("-g", "-gnatf", "-gnat05", "-gnatwcfjklmopruvz", "-gnatyacehikn", "-gnatqQ"); case Build is when "Profile" => for Default_Switches ("ada") use Compiler'Default_Switches ("ada") & ("-O2", "-gnato", "-fstack-check", "-gnata", "-gnatpg"); when "Debug" => for Default_Switches ("ada") use Compiler'Default_Switches ("ada") & ("-O2", "-gnato", "-fstack-check", "-gnata"); when "Release" => for Default_Switches ("ada") use Compiler'Default_Switches ("ada") & ("-O2", "-gnatn", "-gnatN"); when "No_Options" => for Default_Switches ("ada") use ("-gnat05"); -- Deliberately override default switches not to have any! end case; end Compiler; package Binder is for Default_Switches ("ada") use ("-E", "-g"); end Binder; package Linker is for Default_Switches ("ada") use ("-g", "-Wl,--gc-sections"); for Default_Switches ("c") use ("-g"); for Default_Switches ("c++") use ("-g"); end Linker; package Builder is for Default_Switches ("ada") use ("-g"); end Builder; package Pretty_Printer is for Default_Switches ("ada") use ("-A1", "-A2", "-A3", "-A4"); end Pretty_Printer; package Naming is for Specification_Suffix ("C") use ".h"; for Implementation_Suffix ("C") use ".c"; for Specification_Suffix ("C++") use ".hh"; for Implementation_Suffix ("C++") use ".cpp"; for Implementation_Suffix ("C++") use ".cc"; for Specification_Suffix ("Changelog") use "changelog"; for Specification_Suffix ("Project file") use ".gpr"; for Specification_Suffix ("Python") use ".py"; end Naming; end Template; --nextPart1616988.sqt9v8D5Yt--