comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT ARM on Mac OS X?
Date: Sat, 08 Nov 2014 17:52:54 +0000
Date: 2014-11-08T17:52:54+00:00	[thread overview]
Message-ID: <lyk3351sw9.fsf@pushface.org> (raw)
In-Reply-To: ly8ujliw6q.fsf@pushface.org

Simon Wright <simon@pushface.org> 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.


  parent reply	other threads:[~2014-11-08 17:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-05  7:53 GNAT ARM on Mac OS X? Maciej Sobczak
2014-11-05 13:57 ` Simon Wright
2014-11-05 15:41   ` Luke A. Guest
2014-11-05 18:52   ` Jerry Petrey
2014-11-05 19:30     ` Simon Wright
2014-11-08 14:49     ` Simon Wright
2014-11-08 16:12       ` Simon Wright
2014-11-08 17:52       ` Simon Wright [this message]
2014-11-08 19:51       ` Jerry Petrey
2014-11-08 20:17         ` Jeffrey Carter
2014-11-09  1:57           ` Jerry Petrey
2014-11-09 13:05       ` Stephen Leake
2014-11-09 18:15         ` Simon Wright
2014-11-19  9:58     ` 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