From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: GNAT project and search directories
Date: Mon, 28 Dec 2009 11:21:12 +0100
Date: 2009-12-28T11:21:12+01:00 [thread overview]
Message-ID: <tq0ahh.uqn.ln@hunter.axlog.fr> (raw)
In-Reply-To: <ddb73baf-0771-4214-baea-5c43917807c8@p8g2000yqb.googlegroups.com>
Hibou57 (Yannick Duch�ne) a �crit :
> Hi all, hope you have a merry Christmas in peace
>
> Compiling AdaDep, I've noticed different behaviors when compiling with
> and without the provided GPR file.
>
> When the compilation is done without the GPR file, I have to give
> gnatmake, the path for the ASIS source directory with an -I option.
>
> When the compilation is done with the GPR file, this option is not
> needed while there is no directory specification at all for the ASIS
> library path in the GPR file.
>
The provided build.gpr has a "with asis" line. This will search for an
asis.gpr file.
If (as recommended) you installed ASIS under the gnat root directory,
there is an asis.gpr file in <gnat-root>/lib/gnat, which is always a
default location for .gpr files.
No such mechanism exists if you don't use project files.
--
---------------------------------------------------------
J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr
next prev parent reply other threads:[~2009-12-28 10:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-28 9:44 GNAT project and search directories Hibou57 (Yannick Duchêne)
2009-12-28 10:21 ` Jean-Pierre Rosen [this message]
2009-12-28 12:22 ` Hibou57 (Yannick Duchêne)
2009-12-29 2:11 ` Stephen Leake
2009-12-29 12:42 ` sjw
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox