From: "Robert I. Eachus" <rieachus@attbi.com>
Subject: Re: Using GNU make with ObjectAda
Date: Sun, 07 Sep 2003 20:42:44 GMT
Date: 2003-09-07T20:42:44+00:00 [thread overview]
Message-ID: <3F5B9834.307@attbi.com> (raw)
In-Reply-To: m3k78mnftg.fsf@insalien.org
Ludovic Brenta wrote:
> In Ada, you have the concept of a "library" of compilation units
> (packages or subprograms that are "at library level"); the Ada
> compiler is in charge of maintaining this library and making sure the
> units it contains remain consistent with one another. It is this
> "library" that lets the compiler keep track of where source files are.
(If you are not a language lawyer, you can skip the rest of this post.)
No, the Ada compiler is responsible for identifying a set of consistant
library units that the unit being compiled depends on, and insuring that
the closure of that set at run-time is consistant. It is perfectly
legal for the library to contain mutually inconsistant library units and
subunits.
The usual effect of this rule is that at "link time" which is not an Ada
term, the implementation recognizes inconsistancies and causes the
necessary units to be recompiled. (With GNAT, this is the job of
gnatmake, to find out what is inconsistant and call the compiler on
those units in an order consistant with the language rules.)
But as I said at the beginning, only language lawyers need think about
the fact that a library unit, body, or subunit may be inconsistant with
library units it does not depend on. (For example, during a series of
compilations.)
--
Robert I. Eachus
"As far as I'm concerned, war always means failure." -- Jacques Chirac,
President of France
"As far as France is concerned, you're right." -- Rush Limbaugh
next prev parent reply other threads:[~2003-09-07 20:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-04 22:16 Using GNU make with ObjectAda Tim Spargo
2003-09-05 12:13 ` Georg Bauhaus
2003-09-06 12:21 ` Tim Spargo
2003-09-06 13:00 ` Marin David Condic
2003-09-06 14:37 ` Ludovic Brenta
2003-09-07 20:42 ` Robert I. Eachus [this message]
2003-09-15 4:16 ` Dave Thompson
2003-09-06 20:42 ` Guillaume Foliard
2003-09-08 13:48 ` Stephen Leake
2003-09-08 22:22 ` Guillaume Foliard
2003-09-09 0:05 ` Ludovic Brenta
2003-09-09 13:38 ` Stephen Leake
-- strict thread matches above, loose matches on Subject: below --
2003-09-08 9:00 Lionel.DRAGHI
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox