From: "Jeffrey R. Carter" <spam.jrcarter.not@acm.nospam.org>
Subject: Re: parallel translation
Date: Wed, 21 Nov 2007 00:09:22 GMT
Date: 2007-11-21T00:09:22+00:00 [thread overview]
Message-ID: <SGK0j.206990$Fc.47767@attbi_s21> (raw)
In-Reply-To: <87r6ik1yx4.fsf@willow.rfc1149.net>
Samuel Tardieu wrote:
>>>>>> "Jeffrey" == Jeffrey R Carter <spam.jrcarter.not@acm.nospam.org> writes:
>
> Jeffrey> If P1 depends on the body of P2 (perhaps by calling an
> Jeffrey> inlined subprogram with -gnatn), then you have a problem
> Jeffrey> similar to what you described. I'm not sure how GNAT handles
> Jeffrey> this, but perhaps the task compiling P1 can wait until
> Jeffrey> appropriate versions of p2.ali and p2.o are created.
>
> As you wrote, GNAT is source based. If P1 depends on the body of P2,
> it will use its source file (p2.adb in this case), and this is totally
> independant of the compilation of P2 which may well happen in
> parallel or after the compilation of P1.
>
> Any unit can be compiled without depending on any other unit
> compilation. Moreover, the compiler never reads any ali file. gnatmake
> does (to determine what needs to be compiled), and gnatbind does as
> well (to determine the elaboration order).
Thanks for the clarification.
--
Jeff Carter
"Go and boil your bottoms."
Monty Python & the Holy Grail
01
next prev parent reply other threads:[~2007-11-21 0:09 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-17 21:22 Direct Quote from the RM anon
2007-11-18 7:07 ` Simon Wright
2007-11-18 9:43 ` anon
2007-11-18 12:57 ` Markus E L
2007-11-19 0:16 ` Georg Bauhaus
2007-11-20 13:43 ` anon
2007-11-20 15:10 ` parallel translation (was: Direct Quote from the RM) Georg Bauhaus
2007-11-20 18:47 ` parallel translation Jeffrey R. Carter
2007-11-20 19:48 ` Samuel Tardieu
2007-11-21 0:09 ` Jeffrey R. Carter [this message]
2007-11-20 20:26 ` Georg Bauhaus
2007-11-20 17:07 ` Direct Quote from the RM Vadim Godunko
2007-11-21 6:44 ` anon
2007-11-19 21:48 ` Randy Brukardt
2007-11-19 22:41 ` Ludovic Brenta
2007-11-19 21:48 ` Randy Brukardt
2007-11-19 21:48 ` Randy Brukardt
2007-11-20 12:32 ` anon
2007-11-20 16:21 ` Adam Beneschan
2007-11-21 3:14 ` Randy Brukardt
2007-11-21 8:03 ` anon
2007-11-21 3:01 ` Randy Brukardt
2007-11-26 18:23 ` Adam Beneschan
2007-11-21 3:01 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox