From: Simon Wright <simon@pushface.org>
Subject: Re: Q: Multiple GNAT project files and object directories
Date: Wed, 10 Jul 2013 13:37:11 +0100
Date: 2013-07-10T13:37:11+01:00 [thread overview]
Message-ID: <lyr4f6wpzc.fsf@pushface.org> (raw)
In-Reply-To: 51DD1B2F.1010105@obry.net
Pascal Obry <pascal@obry.net> writes:
> Le 09/07/2013 23:42, Simon Wright a écrit :
>> Are you sure that GNAT will recompile the 'with'ed projects? I don't
>> believe I've ever seen it do so.
>
> Sure it does, except if the attribute Externally_Built is set. Or
> alternatively the .ali are set read-only.
It will rebuild if needed (the compiler has changed, or a source of the
'with'ed project has changed, or any other reason).
But it won't rebuild if this project is built with ("-g", "-O0") and the
'with'ed project is built with ("-O2"), which is the sort of change that
OP was talking about. (By "won't rebuild" I mean, I just tried it and it
didn't).
next prev parent reply other threads:[~2013-07-10 12:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-09 20:44 Q: Multiple GNAT project files and object directories gautier_niouzes
2013-07-09 21:27 ` Dmitry A. Kazakov
2013-07-09 21:42 ` Simon Wright
2013-07-10 8:00 ` gautier_niouzes
2013-07-10 8:28 ` Pascal Obry
2013-07-10 12:37 ` Simon Wright [this message]
2013-07-10 13:34 ` gautier_niouzes
2013-07-10 17:44 ` J-P. Rosen
2013-07-10 19:45 ` Simon Wright
2013-07-11 3:45 ` gautier_niouzes
2013-07-10 19:53 ` Simon Wright
2013-07-11 4:21 ` gautier_niouzes
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox