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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GPRBuild / RTS question Date: Sun, 24 Mar 2019 09:02:36 +0000 Organization: A noiseless patient Spider Message-ID: References: <60aae66f-1a85-4d49-a618-94cc47e31810@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="614cf9bebefd7007e3bd0930cc6ec3ac"; logging-data="14191"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/cXsIvNZZnQrGgk77aLfwOO0/TllgFNQM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:Tgm51RTREiHb1Uo2K4xFE7UBsFw= sha1:TvrQV0JCRgso+TAgxpvO9pKu8kQ= Xref: reader01.eternal-september.org comp.lang.ada:55946 Date: 2019-03-24T09:02:36+00:00 List-Id: 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 > /lib/gcc/x86_64-w64-mingw32/8.3.0/RTS-, 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-. Rather than the > default /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: /opt/gnat-ce-2018/lib/gcc/x86_64-apple-darwin16.7.0/7.3.1/rts-native/adainclude Object Search Path: /opt/gnat-ce-2018/lib/gcc/x86_64-apple-darwin16.7.0/7.3.1/rts-native/adalib 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 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!