comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Belmont <sbelmont700@gmail.com>
Subject: gprbuild with --db switch
Date: Sat, 20 Aug 2011 08:39:59 -0700 (PDT)
Date: 2011-08-20T08:39:59-07:00	[thread overview]
Message-ID: <9de55a2b-dea8-4351-b09f-77e6c3f79ba1@r12g2000vbe.googlegroups.com> (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



             reply	other threads:[~2011-08-20 15:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-20 15:39 Simon Belmont [this message]
2011-08-20 17:42 ` gprbuild with --db switch Simon Wright
2011-08-29 21:28   ` Simon Belmont
replies disabled

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