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!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Problem with GPS and Generating Body from Spec Date: Tue, 09 Jun 2015 11:16:02 +0100 Organization: A noiseless patient Spider Message-ID: References: <38b9b922-f17d-493a-8be8-607acd93a67e@googlegroups.com> <072ab529-b9cd-446f-ba14-84cde592c1bc@googlegroups.com> <878ubvqhiw.fsf@ludovic-brenta.org> <1745406b-1307-4366-acd7-e0e1decc2f77@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="2c7d8f71a176d2eaa78ec9fbd86e1d4a"; logging-data="7528"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/w1RHRq0vRwW0ZcpDuZDOTVolzDQFnnyQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:xlkD91kViqSBLBuWaKcbptZ0dSE= sha1:y4GnZXRAcBZTjHow73KGIHIQe1E= Xref: news.eternal-september.org comp.lang.ada:26233 Date: 2015-06-09T11:16:02+01:00 List-Id: Laurent writes: > On Monday, 8 June 2015 16:37:11 UTC+2, David Botton wrote: >> Have you tried switching to use the community Ada, FSF-GNAT for Mac >> OS X, I've had no issues like this with it. http://GetAdaNow.com has >> pointers to it. >> >> David Botton > > > Yes thanks with FSF-gnat it works if compiler/tools are both pointing > to the FSF-gnat/bin. > Changed path for the tools to the gpl-gnat/bin and nothing happens. I > also tried transplanting the FSF-gnatstub to the gpl folder. Didn't > work. Perhaps I should write a mail to Adacore? The compiler and the ASIS-based tools like gnatstub need to be consistent. It's possible to have a cross-compiler and native tools, but they need to be from the same compiler base (because GNAT's ASIS uses the binary-format .adt files generated with -gnatt, and uses code from the compiler source to access them. It checks first that the compiler releases are consistent.) I just tried GPS 2014 with gcc & gnatstub from GNAT GPL 2014 on Mavericks, worked fine.