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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,680db47cb70ed728 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!news.banetele.no!news.hacking.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: GNAT Project Files? Date: 26 Jun 2005 02:22:14 +0200 Organization: hacking.dk - Doing fun stuff with open source Sender: sparre@hugin.crs4.it Message-ID: References: NNTP-Posting-Host: 80.241.165.47 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: xyzzy.adsl.dk 1119745657 30625 80.241.165.47 (26 Jun 2005 00:27:37 GMT) X-Complaints-To: usenet@news.hacking.dk NNTP-Posting-Date: Sun, 26 Jun 2005 00:27:37 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Xref: g2news1.google.com comp.lang.ada:11655 Date: 2005-06-26T02:22:14+02:00 List-Id: Pascal Obry writes: > Jacob Sparre Andersen writes: > > More precisely: > > > > package Linker is > > for Switches ("test_word_buffer.adb") use ("-laws", "-lcharles"); > > end Linker; > > > > Thanks. > > This is not right. If the above works it means that the AWS project > file is wrong. How aws.gpr was built? No idea. It is a part of the Debian package with AWS. Here's the non-comment part of it: ----- with "/usr/share/ada/adainclude/xmlada.gpr"; project AWS is for Source_Dirs use ("/usr/share/ada/adainclude/aws"); for Object_Dir use "/usr/lib/ada/adalib/aws"; Ada_Switches := "-laws"; package Linker is for Default_Switches ("Ada") use (Ada_Switches); end Linker; end AWS; ----- > Which AWS version are you using? 2.0p-4 in Debian. > The whole point of the Project File is to deal with those issues for > you. I thought so too before I starte trying to use them, but it is my experience that they create more problems than they solve. Jacob -- "Genes don't matter. It's all physics."