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!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.unit0.net!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!post01.fr7!fx21.fr7.POSTED!not-for-mail From: Brian Drummond Subject: Re: Where to get Zero Footprint Profile? Newsgroups: comp.lang.ada References: <199524360422720595.802029laguest-archeia.com@nntp.aioe.org> User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: NNTP-Posting-Host: 62.49.20.82 X-Complaints-To: abuse@demon.net X-Trace: 1401092780 62.49.20.82 (Mon, 26 May 2014 08:26:20 UTC) NNTP-Posting-Date: Mon, 26 May 2014 08:26:20 UTC Date: Mon, 26 May 2014 08:26:20 GMT X-Received-Body-CRC: 629108279 X-Received-Bytes: 2516 Xref: news.eternal-september.org comp.lang.ada:20027 Date: 2014-05-26T08:26:20+00:00 List-Id: 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