comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Creating a GPR file to use a custom built runtime library
Date: Mon, 13 Jun 2016 20:56:35 +0100
Date: 2016-06-13T20:56:35+01:00	[thread overview]
Message-ID: <lyeg80hngs.fsf@pushface.org> (raw)
In-Reply-To: 4a015e82-e236-494e-b26f-40132a342542@googlegroups.com

Jeremiah <jeremiah.breeden@gmail.com> writes:

>    package Builder is
>       for Default_Switches ("ada") use ("--RTS=../zfp-atsaml21j18");
>    End Builder;

I'm fairly sure that your version of gprbuild needs to see an absolute
directory here. You can get this by saying

   package Builder is
      for Default_Switches ("ada") use
        ("--RTS=" & project'Project_Dir & "../zfp-atsaml21j18");
   end Builder;

or you could say

   for Runtime ("ada") use project'Project_Dir & "../zfp-atsaml21j18";
   

  parent reply	other threads:[~2016-06-13 19:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-13 17:47 Creating a GPR file to use a custom built runtime library Jeremiah
2016-06-13 19:29 ` Dmitry A. Kazakov
2016-06-13 20:30   ` Jeremiah
2016-06-13 19:56 ` Simon Wright [this message]
2016-06-13 20:25   ` Jeremiah
2016-06-13 22:11     ` Egil H H
2016-06-14  7:48     ` 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