From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT CE 2021 is out Date: Wed, 16 Jun 2021 18:21:45 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <69f55673-f75c-4ee7-a11b-87b6110f6133n@googlegroups.com> <76a267d0-3fef-4bec-8ec8-86d85a614125n@googlegroups.com> <0847a8ed-623c-47fa-8dbf-7b505bd4ced0n@googlegroups.com> NNTP-Posting-Host: yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:s0oekCKzVXSdXATxG6JQ6IAWc/M= Xref: reader02.eternal-september.org comp.lang.ada:62234 List-Id: Gautier write-only address 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_).