comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: How to use Zero Footprint runtime with GNAT GPL 2017
Date: Sun, 16 Jul 2017 08:00:04 -0700 (PDT)
Date: 2017-07-16T08:00:04-07:00	[thread overview]
Message-ID: <2fd9db6c-dd36-4968-8cf1-5e4238f3d345@googlegroups.com> (raw)
In-Reply-To: <87lgno7b6i.fsf@jacob-sparre.dk>

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.


  reply	other threads:[~2017-07-16 15:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-14  8:34 How to use Zero Footprint runtime with GNAT GPL 2017 joakimds
2017-07-14  8:42 ` Egil H H
2017-07-14  8:58   ` joakimds
2017-07-14 15:41     ` Simon Wright
2017-07-14 21:35       ` ake.ragnar.dahlgren
2017-07-17  7:13         ` Mark Lorenzen
2017-07-17  7:27           ` Simon Wright
2017-07-17 20:52             ` Luke A. Guest
2017-07-26 21:29               ` joakimds
2017-07-26 21:31             ` joakimds
2017-07-26 21:28           ` joakimds
2017-07-14  9:56 ` Mark Lorenzen
2017-07-15 13:16 ` Mr. Man-wai Chang
2017-07-15 16:29   ` Lucretia
2017-07-16 13:39     ` Jacob Sparre Andersen
2017-07-16 15:00       ` Lucretia [this message]
2017-07-16 14:17     ` Mr. Man-wai Chang
replies disabled

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