comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.tsoh+bauhaus@maps.futureapps.de>
Subject: Re: parallel translation
Date: Tue, 20 Nov 2007 21:26:14 +0100
Date: 2007-11-20T21:26:22+01:00	[thread overview]
Message-ID: <1195590374.6450.81.camel@kartoffel> (raw)
In-Reply-To: <kZF0j.206644$Fc.62186@attbi_s21>

On Tue, 2007-11-20 at 18:47 +0000, Jeffrey R. Carter wrote:
> Georg Bauhaus wrote:
> > 
> > P1 (in file "p1.ads", say) depends on P2 (in file "p2.ads", say).
> > I am assuming that Task 1 is supposed to compile P1, and task 2
> > is supposed to compile P2. An elaboration order will have to be
> > established in order to translate almost anything. Here, for
> > example, task 1 (compiling P1) must know what is in P2 (compiled
> > in task 2) because P1 depends on P2. How do the compilers etc.
> > communicate?
> 
> No, GNAT is source based. The compilation of P1 will read p2.ads; the 
> compilation of P2 will read p2.ads and p2.adb (if needed). The compilation of P1 
> need not wait for P2 to be compiled.

Yes, I had felt uneasy after posting as the comment confused translation
and elaboration. Yet, I had understood that something like a shell
script was to control starts of gccs for each file, basically. What is
the win over "gnatmake -jnnn" when none of the independent compilers
knows which file has already been processed? There will not normally
be a "p2.ali" after "gcc -c" has read and analyzed "p2.ads" (with'ed
by P1).

Time to look at the sources of gnatmake.





  parent reply	other threads:[~2007-11-20 20:26 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
2007-11-20 20:26             ` Georg Bauhaus [this message]
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-21  3:01     ` Randy Brukardt
2007-11-26 18:23       ` Adam Beneschan
replies disabled

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