comp.lang.ada
 help / color / mirror / Atom feed
From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: GNAT project and search directories
Date: Mon, 28 Dec 2009 01:44:19 -0800 (PST)
Date: 2009-12-28T01:44:19-08:00	[thread overview]
Message-ID: <ddb73baf-0771-4214-baea-5c43917807c8@p8g2000yqb.googlegroups.com> (raw)

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.

So, it seems search paths are not the same with and without a GPR
file.

I've searched the web about it, and did not find a clear explanation.

http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gnat_ugn_unw/Search-Paths-for-gnatbind.html
and http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gnat_ugn_unw/Search-Paths-and-the-Run_002dTime-Library-_0028RTL_0029.html
are just talking about ADA_PRJ_OBJECTS_FILE and ADA_PRJ_INCLUDE_FILE,
but lack explanation about how these are assigned.

Why are the paths not the same with and without a GPR file and what
are formally the difference when a a GPR file is or is not used ?

By the way, just because I feel inquisitive with it : did someone know
what is the license of the GPRBuild language ?



             reply	other threads:[~2009-12-28  9:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-28  9:44 Hibou57 (Yannick Duchêne) [this message]
2009-12-28 10:21 ` GNAT project and search directories Jean-Pierre Rosen
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