comp.lang.ada
 help / color / mirror / Atom feed
From: Thomas Lotze <thomas@thomas-lotze.de>
Subject: Re: Libraries written in Ada
Date: Mon, 22 Nov 2004 21:36:15 +0100
Date: 2004-11-22T21:36:15+01:00	[thread overview]
Message-ID: <pan.2004.11.22.20.36.14.171291@ID-174572.user.uni-berlin.de> (raw)
In-Reply-To: 1464020.dFWPVBaaRG@linux1.krischik.com

On Mon, 22 Nov 2004 18:59:16 +0100, Martin Krischik wrote:

> Actually both. The common runtime consists of packages as well and every
> package may or may not have it's own mini runtime environment. There are
> pragma instructions to controll that i.E. "pragma Pure" says that a
> package has no runtime environment and does not use another package with a
> runtime environment.

And even though it is thus possible to have an Ada package which doesn't
need a runtime environment, it is always necessary to initialize one? Is
that what you meant by "it's not an optional extra" in one of your
earlier messages?

> 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.

Sure, but I'd like to know what implications my choice of language has for
using the library I want to write before I lean back and feel happy about
leaving these details to the language.

> That's the normal way for static linking. It does have the advantage that
> the binder will bind and elaborate only the packages which are actually
> used.

Nice.

Thanks for your explanations so far. One thing I haven't thought about
asking yet: What does adafinal() normally do? Does it things like flushing
file buffers and closing files, or is it just about cleaning up memory?
So, if it is the last function called from main(), may it just as well be
omitted?

-- 
Viele Gr��e,
Thomas




  reply	other threads:[~2004-11-22 20:36 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 [this message]
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
replies disabled

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