comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: Libraries written in Ada
Date: Mon, 22 Nov 2004 20:45:16 +0000 (UTC)
Date: 2004-11-22T20:45:16+00:00	[thread overview]
Message-ID: <cntj4s$fo8$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: 1464020.dFWPVBaaRG@linux1.krischik.com

Martin Krischik <martin@krischik.com> wrote:
: Please Note: you are asking very low level questions. Normaly you don't need
: to worry about it. Ada as a package orientated language has it all build.
: 
: That's unlike C where library management is not part of the language and
: elaboration (that the Ada term for initialising the runtime environment)
: consists of main () only. 

Uhm, if inside a package

   pragma Pure;

applies and

   foo: constant Bar := <static expression>;

is elaborated, what has initialising the Ada runtime system got to do with
it? (Or do you mean something different by  "initialising the runtime
environment"?) Pragma Pure claims something about elaboration needs _at_
runtime by placing
    "sufficient restrictions on a unit to guarantee that no call
     to any subprogram in the unit can result in an elaboration
     problem"  (GNAT User's Guide)
The Ada runtime system may have to deal with elaboration at runtime.
So there has to be one, unless the (Subset-of-)Ada program has been
written such that no run time system is needed.

-- Georg



      parent reply	other threads:[~2004-11-22 20:45 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-22 11:32 Libraries written in Ada Thomas Lotze
2004-11-22 15:58 ` Martin Krischik
2004-11-22 16:28   ` Thomas Lotze
2004-11-22 16:46     ` Alex R. Mosteo
2004-11-22 19:09       ` Pascal Obry
2004-11-23 11:12         ` Alex R. Mosteo
2004-11-22 17:59     ` Martin Krischik
2004-11-22 20:36       ` Thomas Lotze
2004-11-22 21:25         ` Georg Bauhaus
2004-11-22 21:45           ` Thomas Lotze
2004-11-22 22:07             ` Georg Bauhaus
2004-11-22 22:27               ` Thomas Lotze
2004-11-23  9:54                 ` Adrien Plisson
2004-11-23  9:55                 ` Martin Krischik
2004-11-23  9:55               ` Martin Krischik
2004-11-23  9:48         ` Martin Krischik
2004-11-23 11:03           ` Thomas Lotze
2004-11-23 11:38             ` Alex R. Mosteo
2004-11-23 12:22               ` Georg Bauhaus
2004-11-23 13:20                 ` Alex R. Mosteo
2004-11-23 13:40                   ` Alex R. Mosteo
2004-11-23 12:36             ` Martin Krischik
2004-11-23 13:53               ` Thomas Lotze
2004-11-23 18:39                 ` Jeffrey Carter
2004-11-22 20:45       ` Georg Bauhaus [this message]
replies disabled

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