comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: gprbuild with --db switch
Date: Sat, 20 Aug 2011 18:42:48 +0100
Date: 2011-08-20T18:42:48+01:00	[thread overview]
Message-ID: <m2y5yo7zdz.fsf@pushface.org> (raw)
In-Reply-To: 9de55a2b-dea8-4351-b09f-77e6c3f79ba1@r12g2000vbe.googlegroups.com

Simon Belmont <sbelmont700@gmail.com> writes:

> 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)

If you're supported (I see you're using Gprbuild Pro), this is the sort
of question AdaCore are only too happy to answer.

If not, you could try the latest gprbuild (from GNAT GPL 2011) from
libre.adacore.com. You should be able to extract just gprbuild & friends
from the download. There may be configuration issues finding the
compiler (--target helps, ISTR), but you seem to be comfortable with
this sort of thing!



  reply	other threads:[~2011-08-20 17:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-20 15:39 gprbuild with --db switch Simon Belmont
2011-08-20 17:42 ` Simon Wright [this message]
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