comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GPRBuild / RTS question
Date: Sun, 24 Mar 2019 09:02:36 +0000
Date: 2019-03-24T09:02:36+00:00	[thread overview]
Message-ID: <ly8sx4myqb.fsf@pushface.org> (raw)
In-Reply-To: 60aae66f-1a85-4d49-a618-94cc47e31810@googlegroups.com

alby.gamper@gmail.com writes:

> 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
> <prefix>/lib/gcc/x86_64-w64-mingw32/8.3.0/RTS-<xyz>, which is where
> GPRBuild expects to find the custom RTS.

I thought the RTS was lower-case? but if you're on Windows I guess it
doesn't matter.

> Is it usual/common practice to install any dependant libraries to also
> be installed within/underneath …/8.3.0/RTS-<xyz>. Rather than the
> default <prefix>/lib for libraries not using a specific RTS ??

I've only tried arm-eabi runtimes, where the arm-eabi libraries etc are
in $prefix/arm-eabi.

However, I see that GNAT CE 2018 (macOS) supports rts-native, so I tried

$ /opt/gnat-ce-2018/bin/gnatls --RTS=native -v

GNATLS Community 2018 (20180523-73)
Copyright (C) 1997-2018, Free Software Foundation, Inc.

Source Search Path:
   <Current_Directory>
   /opt/gnat-ce-2018/lib/gcc/x86_64-apple-darwin16.7.0/7.3.1/rts-native/adainclude


Object Search Path:
   <Current_Directory>
   /opt/gnat-ce-2018/lib/gcc/x86_64-apple-darwin16.7.0/7.3.1/rts-native/adalib


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
   /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!

  reply	other threads:[~2019-03-24  9:02 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 [this message]
2019-03-27  8:01   ` alby.gamper
2019-03-27 18:27     ` 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