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: border2.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT ARM on Mac OS X? Date: Sun, 09 Nov 2014 18:15:47 +0000 Organization: A noiseless patient Spider Message-ID: References: <1013422b-4823-4e5d-b8b6-46bf2d63a7fb@googlegroups.com> <545a71ed$0$56557$c3e8da3$38634283@news.astraweb.com> <858ujk4j8s.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="ff529209d97605a4e00265a5af81ac3e"; logging-data="11018"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rElNtV1PtQtuYlldJReP8NHf9U3pEs+o=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:4U3ysh2HRh6/rwpqMzmCLAO7aDk= sha1:IEMZRtbLKkcbOQPzx2Q69iSijFw= Xref: number.nntp.giganews.com comp.lang.ada:190407 Date: 2014-11-09T18:15:47+00:00 List-Id: Stephen Leake writes: > This should be configurable in the gprbuild meta-config file > gnat-gpl-2014/share/gprconfig/gnat.xml I think it's compilers.xml. In the version supplied with GPRBUILD GPL 2014, at line 663 there's a section which, AFAICT, looks in $prefix/lib/gcc/$target/$version/for: (a) a directory adalib/; or (b) a file ada_object_path containing a line beginning rts-; or (c) a directory rts-*/adalib. Unfortunately, a few lines above there's a section which runs gnatls -v to find the version. gnatls seems only to recognise option (a) above (it will handles the other choices when you supply --RTS=, but gprconfig doesn't).