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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.13.234.6 with SMTP id t6mr12512776ywe.61.1500217205295; Sun, 16 Jul 2017 08:00:05 -0700 (PDT) X-Received: by 10.36.124.10 with SMTP id a10mr81428itd.6.1500217205254; Sun, 16 Jul 2017 08:00:05 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!2.eu.feeder.erje.net!feeder.erje.net!2.us.feeder.erje.net!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!m54no911241qtb.1!news-out.google.com!196ni6240itl.0!nntp.google.com!188no1204989itx.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 16 Jul 2017 08:00:04 -0700 (PDT) In-Reply-To: <87lgno7b6i.fsf@jacob-sparre.dk> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5 References: <4615326c-a35f-4baa-9a1e-2b13e69fb642@googlegroups.com> <87lgno7b6i.fsf@jacob-sparre.dk> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2fd9db6c-dd36-4968-8cf1-5e4238f3d345@googlegroups.com> Subject: Re: How to use Zero Footprint runtime with GNAT GPL 2017 From: Lucretia Injection-Date: Sun, 16 Jul 2017 15:00:05 +0000 Content-Type: text/plain; charset="UTF-8" Xref: news.eternal-september.org comp.lang.ada:47431 Date: 2017-07-16T08:00:04-07:00 List-Id: On Sunday, 16 July 2017 14:39:51 UTC+1, Jacob Sparre Andersen wrote: > Lucretia wrote: > > > ZFP means all you have are the compiler intrinsics as language support > > and nothing else. Although, I modified mine to include a small > > secondary stack so that indefinites could be returned from functions. > > How much larger does that make the run-time? (Compiled for ARM, for > example.) Intrinsics are supplied by the compiler, not the runtime itself. The basic packages for ZFP are (taken from my osdev article: http://wiki.osdev.org/Ada_Bare_bones#RTS_files_to_copy): ada.ads, gnat.ads - pure, nothing inside a-unccon.ads, a-uncdea.ads, g-souinf.ads, interfac.ads, s-maccod.ads - All intrinsics. s-atacco.adb, s-atacco.ads, s-stoele.adb, s-stoele.ads - these are the only ones which actually has any Ada functions inside. As for code size, I've no idea as you'd have to look at what the compiler generates for those intrinsics. Luke.