comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: Specifying an `--RTS` option in a GPR file, for a runtime library
Date: Mon, 15 Apr 2013 08:19:32 +0000 (UTC)
Date: 2013-04-15T08:19:32+00:00	[thread overview]
Message-ID: <kkgd6k$kqn$1@dont-email.me> (raw)
In-Reply-To: op.wvjrjkz8ule2fv@cardamome

On Sun, 14 Apr 2013 22:07:58 +0200, Yannick Duchêne (Hibou57) wrote:

> Le Sun, 14 Apr 2013 21:54:20 +0200, Yannick Duchêne (Hibou57)
> <yannick_duchene@yahoo.fr> a écrit:

> It still starts with “warning: RTS for language ada is discarded (full
> path)” as before with the absolute path variant, but now `gprbuild` also
> returns this additional message: “raised TYPES.UNRECOVERABLE_ERROR :
> targparm.adb:177”.
> 
> This must be a file from the compiler source, as I could not find this
> in the runtime source files.

This error is "cannot find system.ads" - first make sure your RTS 
directory contains adainclude/system.ads, and then figure out why the --
RTS= option is ignored/wrong/broken.

As of a couple of revisions ago, some tools (FSF tree, gnatclean+?) were 
looking for system.ads in the wrong place (ignoring --RTS) but that 
didn't affect normal builds.

As a crosscheck, have you tried building with gnatmake and a direct 
command line (no gpr), which DOES honour the --RTS= option? This may 
yield some light on what's wrong.

- Brian




  parent reply	other threads:[~2013-04-15  8:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-14 19:54 Specifying an `--RTS` option in a GPR file, for a runtime library Yannick Duchêne (Hibou57)
2013-04-14 20:07 ` Yannick Duchêne (Hibou57)
2013-04-14 20:36   ` Yannick Duchêne (Hibou57)
2013-04-15  8:19   ` Brian Drummond [this message]
2013-04-15 11:22     ` Yannick Duchêne (Hibou57)
2013-04-15 22:28       ` Yannick Duchêne (Hibou57)
2013-04-17 11:43       ` Brian Drummond
2013-04-18 22:10         ` Yannick Duchêne (Hibou57)
2013-04-15 13:27 ` Yannick Duchêne (Hibou57)
2013-04-15 13:29   ` Yannick Duchêne (Hibou57)
2013-04-23  1:26 ` Yannick Duchêne (Hibou57)
2013-04-23 17:22   ` Yannick Duchêne (Hibou57)
replies disabled

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