comp.lang.ada
 help / color / mirror / Atom feed
* GNAT project and search directories
@ 2009-12-28  9:44 Hibou57 (Yannick Duchêne)
  2009-12-28 10:21 ` Jean-Pierre Rosen
  2009-12-29  2:11 ` Stephen Leake
  0 siblings, 2 replies; 5+ messages in thread
From: Hibou57 (Yannick Duchêne) @ 2009-12-28  9:44 UTC (permalink / 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 ?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-12-29 12:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-28  9:44 GNAT project and search directories Hibou57 (Yannick Duchêne)
2009-12-28 10:21 ` 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

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