comp.lang.ada
 help / color / mirror / Atom feed
* gprbuild with --db switch
@ 2011-08-20 15:39 Simon Belmont
  2011-08-20 17:42 ` Simon Wright
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Belmont @ 2011-08-20 15:39 UTC (permalink / raw)


Obstensibly, gprbuild will recognize a "--db dir" switch and pass it
onto gprconfig when spawned (to add an additional knowledge base
directory), but i'm having trouble getting it to do so.  Gprbuild will
not complain about the switch (and even spit out an error if the
directory is invalid), but does not seems to invoke gprconfig with
it.  By turning on the verbosity, the gprconfig line (as invoked by
gprbuild) is quite clearly missing it, and consequently generates the
auto.cgpr from only the original KB.  If i manually run the gprconfig
line as generated by gprbuild, but add the --db switch, the
configuration file is generated as intended.

Is this a known defenciency, or is there an order the switches must be
in, or other 'gotcha' someone knows about?  I have tried most of the
obvious things to no avail.  (Gprbuild Pro 1.4.1, 20100106, Linux)

-sb



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

end of thread, other threads:[~2011-08-29 21:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-20 15:39 gprbuild with --db switch Simon Belmont
2011-08-20 17:42 ` Simon Wright
2011-08-29 21:28   ` Simon Belmont

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