comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GPRBuild / RTS question
Date: Wed, 27 Mar 2019 18:27:07 +0000
Date: 2019-03-27T18:27:07+00:00	[thread overview]
Message-ID: <lyzhpg2mx0.fsf@pushface.org> (raw)
In-Reply-To: 02750c69-cbcf-44a9-a8a2-49ecf162850d@googlegroups.com

alby.gamper@gmail.com writes:

> On Sunday, March 24, 2019 at 8:02:38 PM UTC+11, Simon Wright wrote:
>> Project Search Path:
>>    <Current_Directory>
>>    /opt/gnat-ce-2018/x86_64-apple-darwin16.7.0/native/lib/gnat
>>    /opt/gnat-ce-2018/x86_64-apple-darwin16.7.0/native/share/gpr

In other words, the first place that gprbuild will look for projects is
under $prefix/{machine}/{rts} - assuming that gprbuild applies the same
algorithm as gnatls, of course.

>>    /opt/gnat-ce-2018/x86_64-apple-darwin16.7.0/lib/gnat
>>    /opt/gnat-ce-2018/x86_64-apple-darwin16.7.0/share/gpr
>>    /opt/gnat-ce-2018/share/gpr
>>    /opt/gnat-ce-2018/lib/gnat
>> 
>> So, looks as though you can indeed install under
>> $prefix/{machine}/{rts}; can't immediately see what gprinstall
>> incantation you'd need, but should be possible!

> Thanks for your feedback, much appreciated! I had actually figured out
> that the rts needs to be located under $prefix/(machine)/{rts} as this
> is where gprbuild expects it to be when referenced. However my
> original question was more about where libraries that are dependant on
> {rts} should be installed too
>
> My current approach is to install underneath $prefix/(machine)/{rts}
> rather than $prefix, which in my mind makes sense and reduces the
> likelihood of the dependant library being used by an application that
> does not specifically need or want {rts}

Sorry not to have been clearer. This was exactly what I was trying to
say.

      reply	other threads:[~2019-03-27 18:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-24  4:05 GPRBuild / RTS question alby.gamper
2019-03-24  9:02 ` Simon Wright
2019-03-27  8:01   ` alby.gamper
2019-03-27 18:27     ` Simon Wright [this message]
replies disabled

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