comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT CE 2021 is out
Date: Wed, 16 Jun 2021 18:21:45 +0100	[thread overview]
Message-ID: <lyczslbu8m.fsf@pushface.org> (raw)
In-Reply-To: 0847a8ed-623c-47fa-8dbf-7b505bd4ced0n@googlegroups.com

Gautier write-only address <gautier_niouzes@hotmail.com> writes:

> Actually my issue is very similar to one appeared with GNAT GPL 2017
> (see "GNAT GPL 2017 incremental compilation").
> It is related to configuration pragma files. At the time the solution
> was to have in the .gpr project file compiler options expressed like
>     "-gnatec=" & project'Project_Dir & "debug.pra"
> because gprbuild doesn't run in the same directory as gnat since the
> GPL 2017 version.
> Now (four GPL/CE versions later) it's a bit trickier since gprbuild
> doesn't find the configuration pragma file at its correct place, even
> though gnat does.

   package Builder is
      for Global_Configuration_Pragmas use "gnat.adc";
   end Builder;

   package Compiler is
      for Local_Configuration_Pragmas use "gnat_local.adc";
   end Compiler;

Gprbuild doesn't complain about finding either of these, which are in
the same directory as the project file (I'm not sure whether they're
actually _actioned_).

  reply	other threads:[~2021-06-16 17:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27 17:37 GNAT CE 2021 is out AdaMagica
2021-05-29 17:17 ` AdaMagica
2021-06-02 20:40 ` Gautier write-only address
2021-06-08 17:54   ` Stephen Leake
2021-06-11 18:59   ` Stephane Carrez
2021-06-16 16:24     ` Gautier write-only address
2021-06-16 17:21       ` Simon Wright [this message]
2021-06-16 20:05         ` Gautier write-only address
2021-06-17 11:20           ` Simon Wright
replies disabled

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