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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,95dad97c56f9de95 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-25 00:51:26 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!paloalto-snh1.gtei.net!news.gtei.net!newsfeed.direct.ca!look.ca!sfo2-feed1.news.digex.net!intermedia!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!news.cesnet.cz!crax.cesnet.cz!news.felk.cvut.cz!not-for-mail From: "Sergey Koshcheyev" Newsgroups: comp.lang.ada Subject: Re: Curiousity: pragma No_Run_Time for Gnat Date: Tue, 25 Sep 2001 09:32:56 +0200 Organization: Czech Technical University Message-ID: <9opbv7$1vg1$1@ns.felk.cvut.cz> References: <9oo006$fdf$1@nh.pace.co.uk> <9oo7ne$145d$1@ns.felk.cvut.cz> <9ooa2p$j91$1@nh.pace.co.uk> NNTP-Posting-Host: r41.dkm.cz X-Trace: ns.felk.cvut.cz 1001403175 65025 62.24.83.41 (25 Sep 2001 07:32:55 GMT) X-Complaints-To: usenet@ns.felk.cvut.cz NNTP-Posting-Date: Tue, 25 Sep 2001 07:32:55 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:13314 Date: 2001-09-25T09:32:56+02:00 List-Id: "Marin David Condic" wrote in message news:9ooa2p$j91$1@nh.pace.co.uk... > O.K. I've bookmarked that. I'll look at it as soon as I can get that elusive > Round Tuit. While I was doing a web search to find out what you meant (I think I understand the idiom now), I found several webpages providing Round Tuits to people who need them :-) > I'm also wondering if it would eschew any BIOS calls or if the BIOS would be > presumed? I'm wondering if I can really get some sort of "pure" x86 code? I don't know exactly what you mean by "pure" x86 code. What you get from the compiler on x86 is a 32-bit executable in the platform-specific executable format (ELF on Linux, PE on Win32) which isn't linked to GNAT libraries, though I think it may be linked dynamically to the C library. Linker switch -nostdlib can be used to overcome this and get a completely stand-alone executable (tested on Linux). Another linker switch can be used to link the C library in statically (also tested on Linux). GNAT doesn't insert any BIOS calls in the generated code when pragma No_Run_Time is used. Sergey Koshcheyev > 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/