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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,64815469c35bbcbe X-Google-Attributes: gid103376,public From: Jean-Marc Bourguet Subject: Re: GNAT: pragma Ravenscar Date: 1999/12/01 Message-ID: <823itq$inu$1@nnrp1.deja.com>#1/1 X-Deja-AN: 555244391 References: <38440543.DE6747F3@icn.siemens.de> <87vh6j4tpo.fsf@deneb.cygnus.argh.org> X-Http-Proxy: 1.1 sj-netcache (NetCache 4.0R2D6), 1.0 x24.deja.com:80 (Squid/1.1.22) for client 158.140.208.29, 158.140.3.201 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Dec 01 16:38:18 1999 GMT X-MyDeja-Info: XMYDJUIDbourguet Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (X11; I; SunOS 5.5.1 sun4u) Date: 1999-12-01T00:00:00+00:00 List-Id: In article <87vh6j4tpo.fsf@deneb.cygnus.argh.org>, " "@deneb.cygnus.argh.org (Florian Weimer) wrote: > Alfred Hilscher writes: > > > I thought when I build the same program twice, once with this pragma > > and again without this pragma then I would get different sized > > exe-files (because a smaller runtime included). But when I did so, > > I've got both times the same size. Do I missunderstand what the > > pragma does or do I miss some GNAT switches ? I've looked to the > > documentation but I found no answer there. As I understood it, pragma Ravenscar aim was to enforce some restrictions, not to reduce the run time size. (I seems to recall another pragma Resticted_Run_Time which had this goal). I've never used these pragmas so I may be wrong. > The GNAT No Runtime support (GNORT) doesn't seem to be part of the > public distribution. With 3.12p, gnat does accept the pragma and seems to make something with it. What I've not found is the manual which is referenced in the gnat documentation. It does nearly was I was expecting, except for one time where it generated non linkable code where I'd have expected a warning, but as I've done something which was meaningless, without the documentation I may not say it is a bug. What I succeeded to do is boot a PC and after a bootstrap in asm, jump to a main program written in Ada using several packages some of which needed elaboration. Pragma Ravenscar is something else than GNORT, which is as far as I known completely documented in the publicly available gnat documentation. > (Of course, this is a GNAT-specific question and should have been > asked on chat@gnat.com. ;) Never a bad advice. -- Jean-Marc Sent via Deja.com http://www.deja.com/ Before you buy.