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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,95dad97c56f9de95,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-24 12:15:09 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news-x2.support.nl!news-x.support.nl!psinet-eu-nl!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Curiousity: pragma No_Run_Time for Gnat Date: Mon, 24 Sep 2001 15:02:29 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9oo006$fdf$1@nh.pace.co.uk> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1001358150 15791 136.170.200.133 (24 Sep 2001 19:02:30 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 24 Sep 2001 19:02:30 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:13298 Date: 2001-09-24T19:02:30+00:00 List-Id: The GNAT reference manual says this about pragma No_Run_Time: ==================================== pragma No_Run_Time Syntax: pragma No_Run_Time; This is a configuration pragma that makes sure the user code does not use nor need anything from the GNAT run time. This is mostly useful in context where code certification is required. Please consult the GNORT product documentation for additional information. ======================================= Would this mean that the Gnat 3.13p I have installed on my PC here would generate code that assumes nothing about the environment other than the processor it is targeting? (Assuming that the code did not contain constructs for which runtime is required.) That is to say - if I write a procedure that contains a "pragma No_Run_Time" directive, that if I can get it past the compiler, I'll have raw machine code with no OS calls, no runtime calls, nothing except x86 machine code? MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/