comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Question about GNAT project files.
Date: Tue, 28 Feb 2012 18:14:34 +0000
Date: 2012-02-28T18:14:34+00:00	[thread overview]
Message-ID: <m2fwdukeph.fsf@pushface.org> (raw)
In-Reply-To: op.waeetzsrule2fv@douda-yannick

"Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr> writes:

> Le Mon, 27 Feb 2012 14:41:10 +0100, Peter C. Chapin
> <PChapin@vtc.vsc.edu> 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



  parent reply	other threads:[~2012-02-28 18:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-26 19:48 Question about GNAT project files Peter C. Chapin
2012-02-26 20:15 ` Dmitry A. Kazakov
2012-02-26 22:18 ` Greg Moncreaff
2012-02-27 13:41   ` Peter C. Chapin
2012-02-28 16:59     ` Yannick Duchêne (Hibou57)
2012-02-28 18:10       ` AdaMagica
2012-02-28 18:14       ` Simon Wright [this message]
2012-02-27 13:08 ` Ludovic Brenta
2012-02-27 13:43   ` Peter C. Chapin
2012-02-27 15:27   ` Simon Wright
2012-02-28  2:02   ` Peter C. Chapin
2012-02-28  6:56     ` Phil Thornley
2012-02-29  0:04       ` Peter C. Chapin
2012-02-29  9:18         ` Phil Thornley
2012-02-29 14:51           ` Peter C. Chapin
2012-02-29 16:49             ` Phil Thornley
2012-02-29 17:17               ` Peter C. Chapin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox