comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: Q: Multiple GNAT project files and object directories
Date: Wed, 10 Jul 2013 06:34:20 -0700 (PDT)
Date: 2013-07-10T06:34:20-07:00	[thread overview]
Message-ID: <76be6848-d0b9-4f6b-9cd1-72caf33edda5@googlegroups.com> (raw)
In-Reply-To: <lyr4f6wpzc.fsf@pushface.org>

Le mercredi 10 juillet 2013 14:37:11 UTC+2, Simon Wright a écrit :

> 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).

Right - I also just tried.
But GNAT GPL 2012 (not 2013) did (I also tried)!
Anyway neither behaviour is satisfactory (either recompilation with no source change, or no recompilation but mix of .o files with very different compiler options).
Now, the solution with the good old Ada_Include_Path is working perfectly.
Is is even easier than the solution with Ada_Project_Path ...
An example:
http://sf.net/p/azip/code/152/tree/trunk/gwindows/azip_gwindows.gpr
_________________________
Gautier's Ada programming
http://gautiersblog.blogspot.com/search/label/Ada
NB: follow the above link for a valid e-mail address


  reply	other threads:[~2013-07-10 13:34 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
2013-07-10 13:34       ` gautier_niouzes [this message]
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