comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian3@shapes.demon.co.uk>
Subject: Re: Where to get Zero Footprint Profile?
Date: Mon, 26 May 2014 08:26:20 GMT
Date: 2014-05-26T08:26:20+00:00	[thread overview]
Message-ID: <MUCgv.83108$mD2.80350@fx21.fr7> (raw)
In-Reply-To: f18842d0-9cb5-4c8b-8377-9941534764a7@googlegroups.com

On Sun, 25 May 2014 11:42:27 -0700, droiddermo wrote:

>> You create the zfp by copying the relevant source files from the
>> version of gnat source you have, they are all intrinsics so don't need
>> any rt. Interfaces.c needs to have the subprigrams removing as they
>> return I constrained types, unless you enable a simple secondary stack.

> Thanks! So as far as I understood there is no ready to use ZFP available
> for free? Is there any good read about Ada's runtime, compiler's
> intrinsics and using Ada for bare bones development in general? For
> example I don't quite understand what is secondary stack and what it is
> used for. Also from reading Ada bare bones page on osdev I didn't
> understand why you had to disable recursive calls, is it somehow
> dependent on some runtime's code?

There is a slightly more developed version for the AVR microprocessors, 
which appears to support a secondary stack, at 
http://sourceforge.net/projects/avr-ada/

I found it relatively easy to adapt for the TI MSP430 processors, at 
http://sourceforge.net/projects/msp430ada/

You may get some idea of what's involved by comparing these two, and 
adapting as required for your target processor. If so, please put your 
work out there so that some day, we may draw together all these disparate 
efforts into something more coherent...

Another unrelated effort targetting ARM processors, with the intent 
eventually to support the Ravenscar profile:

http://sourceforge.net/projects/arm-ada/

- Brian

      parent reply	other threads:[~2014-05-26  8:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-24 18:00 Where to get Zero Footprint Profile? droiddermo
2014-05-24 18:50 ` ake.ragnar.dahlgren
2014-05-25  8:39   ` droiddermo
2014-05-25 14:25     ` Luke A. Guest
2014-05-25 18:42       ` droiddermo
2014-05-25 19:34         ` Luke A. Guest
2014-05-26  0:39         ` Robert A Duff
2014-05-26  8:26         ` Brian Drummond [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox