From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:7614:: with SMTP id g20mr1515559iom.14.1553673702444; Wed, 27 Mar 2019 01:01:42 -0700 (PDT) X-Received: by 2002:a9d:4c05:: with SMTP id l5mr23660217otf.36.1553673702130; Wed, 27 Mar 2019 01:01:42 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!w126no104191ita.0!news-out.google.com!r82ni117ita.0!nntp.google.com!78no104123itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 27 Mar 2019 01:01:41 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=101.164.108.182; posting-account=wavAeAoAAAAZF_sXSZepBukuPCBO0Zqt NNTP-Posting-Host: 101.164.108.182 References: <60aae66f-1a85-4d49-a618-94cc47e31810@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <02750c69-cbcf-44a9-a8a2-49ecf162850d@googlegroups.com> Subject: Re: GPRBuild / RTS question From: alby.gamper@gmail.com Injection-Date: Wed, 27 Mar 2019 08:01:42 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:55976 Date: 2019-03-27T01:01:41-07:00 List-Id: On Sunday, March 24, 2019 at 8:02:38 PM UTC+11, Simon Wright wrote: > alby.gamper@gmail.com writes: >=20 > > If developing a custom RTS (for example one that conforms/passes the > > Microsoft Windows Store API compatibility tests) and this library is > > by default then installed into > > /lib/gcc/x86_64-w64-mingw32/8.3.0/RTS-, which is where > > GPRBuild expects to find the custom RTS. >=20 > I thought the RTS was lower-case? but if you're on Windows I guess it > doesn't matter. >=20 > > Is it usual/common practice to install any dependant libraries to also > > be installed within/underneath =E2=80=A6/8.3.0/RTS-. Rather than t= he > > default /lib for libraries not using a specific RTS ?? >=20 > I've only tried arm-eabi runtimes, where the arm-eabi libraries etc are > in $prefix/arm-eabi. >=20 > However, I see that GNAT CE 2018 (macOS) supports rts-native, so I tried >=20 > $ /opt/gnat-ce-2018/bin/gnatls --RTS=3Dnative -v >=20 > GNATLS Community 2018 (20180523-73) > Copyright (C) 1997-2018, Free Software Foundation, Inc. >=20 > Source Search Path: > > /opt/gnat-ce-2018/lib/gcc/x86_64-apple-darwin16.7.0/7.3.1/rts-native/a= dainclude >=20 >=20 > Object Search Path: > > /opt/gnat-ce-2018/lib/gcc/x86_64-apple-darwin16.7.0/7.3.1/rts-native/a= dalib >=20 >=20 > Project Search Path: > > /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 > /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 >=20 > 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! Hi Simon 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 th= e dependant library being used by an application that does not specifically n= eed or want {rts} Alex