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,d13bf824aeeb7e2b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.135.231 with SMTP id pv7mr16211622pbb.8.1330452876654; Tue, 28 Feb 2012 10:14:36 -0800 (PST) Path: h9ni19817pbe.0!nntp.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Question about GNAT project files. Date: Tue, 28 Feb 2012 18:14:34 +0000 Organization: A noiseless patient Spider Message-ID: References: <40c94126-d9e5-41f4-b656-43ef1ce021bb@a15g2000yqf.googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="20489"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/khGNH6RaBczDkc61b8FBC8eNPMPxwQ30=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:63QZEWU/mmnZ46p8aGujMOgr7FE= sha1:SdPpxgyqHzQUsjro2nNlqFpE+d8= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: 2012-02-28T18:14:34+00:00 List-Id: "Yannick DuchĂȘne (Hibou57)" writes: > Le Mon, 27 Feb 2012 14:41:10 +0100, Peter C. Chapin > a Ă©crit: > >> On 2012-02-26 17:18, Greg Moncreaff wrote: >> >>> Look for something called an 'aggregate' project. >>> >>> http://www.adacore.com/wp-content/files/auto_update/gnat-unw-docs/html/gnat_ugn_12.html#SEC152 >> >> That's interesting. I didn't realize there were such projects. I'm >> not sure if it applies to my case though since two of my existing >> projects are not libraries but contains main procedures. Maybe it >> would work anyway. >> >> Peter > Seems GNAT Pro specific, I can't retrieve the same from the FSF GNAT > User's Guide. There is the 4.6.0 reference[1] which seems to imply that the syntax is accepted but has no effect, and the gprbuild reference[2]. gnatmake 4.6.0 does indeed fail to process an aggregate gpr. gprbuild GPL 2011 succeeds (modulo some strange behaviour about library names vs project names which I think I may have introduced when I rebuilt gprbuild vs GCC 4.6.0???). [1] http://gcc.gnu.org/onlinedocs/gcc-4.6.0/gnat_ugn_unw/Qualified-Projects.html#Qualified-Projects [2] http://www.adacore.com/wp-content/files/auto_update/gprbuild-docs/html/gprbuild_ug.html#Project-Declaration