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: GNAT ARM on Mac OS X? Date: Sat, 08 Nov 2014 17:52:54 +0000 Organization: A noiseless patient Spider Message-ID: References: <1013422b-4823-4e5d-b8b6-46bf2d63a7fb@googlegroups.com> <545a71ed$0$56557$c3e8da3$38634283@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="ff529209d97605a4e00265a5af81ac3e"; logging-data="17363"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+81/OMj/gYb+6Ostz2/JO0P8HY3XYCW6Y=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:zZ2v0+isSDCqpdA4AcCpKLur7n4= sha1:ptQEqqJ5qV2Yccl+mqIC2oKW2t0= Xref: news.eternal-september.org comp.lang.ada:23083 Date: 2014-11-08T17:52:54+00:00 List-Id: Simon Wright writes: > (2) There has to be an RTS or gprbuild won't see the compiler. I don't > know how this is determined. > > I started out copying the Linux distro's rts-zfp RTS to > lib/gcc/arm-eabi/4.7.4/, but that didn't work, so I made symlinks from > lib/gcc/arm-eabi/4.7.4/rts-zfp/adalib,adainclude to the level above. OK! > > I see that the Linux distro has the Ravenscar RTS in > lib/gnat/arm-eabi/ravenscar-sfp-stm32f4, perhaps that's the clue. More on this: if you put the RTS in lib/gcc/arm-eabi/4.7.4/ravenscar-sfp-stm32f4 then gnatls can see it (arm-eabi-gnatls --RTS=ravenscar-sfp-stm32f4) but gprbuild --target=arm-eabi can't. Instead, you have to put the RTS in lib/gcc/arm-eabi/4.7.4/rts-ravenscar-sfp-stm32f4 when both are happy.