comp.lang.ada
 help / color / mirror / Atom feed
From: "Sergey Koshcheyev" <serko84@hotmail.com>
Subject: Re: Curiousity: pragma No_Run_Time for Gnat
Date: Tue, 25 Sep 2001 09:32:56 +0200
Date: 2001-09-25T09:32:56+02:00	[thread overview]
Message-ID: <9opbv7$1vg1$1@ns.felk.cvut.cz> (raw)
In-Reply-To: 9ooa2p$j91$1@nh.pace.co.uk

"Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org> 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/






  reply	other threads:[~2001-09-25  7:32 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-24 19:02 Curiousity: pragma No_Run_Time for Gnat Marin David Condic
2001-09-24 21:14 ` Sergey Koshcheyev
2001-09-24 21:54   ` Marin David Condic
2001-09-25  7:32     ` Sergey Koshcheyev [this message]
2001-09-25 14:00       ` Marin David Condic
2001-09-25 14:14         ` Lutz Donnerhacke
2001-09-25 19:40           ` Robert Dewar
2001-09-26  9:04             ` Lutz Donnerhacke
2001-09-25 15:20         ` Sergey Koshcheyev
2001-09-25  7:36     ` Jean-Marc Bourguet
2001-09-25  7:43   ` Peter Amey
2001-09-25 14:02     ` Marin David Condic
     [not found] <Pine.LNX.4.33.0109251343310.2841-100000@lagoa.niaad.liacc.up.pt>
2001-09-25 13:20 ` David C. Hoos
  -- strict thread matches above, loose matches on Subject: below --
2001-09-25 14:09 M. A. Alves
2001-09-25 13:05 ` chris.danx
2001-09-25 13:07 ` Jacob Sparre Andersen
2001-09-25 13:37 ` Sergey Koshcheyev
     [not found] <Pine.LNX.4.33.0109251630310.3066-100000@lagoa.niaad.liacc.up.pt>
2001-09-25 14:48 ` Samuel Tardieu
2001-09-25 16:49 M. A. Alves
2001-09-25 15:05 ` chris.danx
2001-09-25 15:38   ` Marin David Condic
2001-09-25 17:07 M. A. Alves
replies disabled

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