From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c21db05aee31ddfc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!194.134.4.14.MISMATCH!news2.euro.net!feeder.news-service.com!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: parallel translation From: Georg Bauhaus In-Reply-To: References: <4740d5f0$0$27131$9b4e6d93@newsspool1.arcor-online.net> <1195571423.6450.36.camel@kartoffel> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1195590374.6450.81.camel@kartoffel> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Date: Tue, 20 Nov 2007 21:26:14 +0100 Organization: Arcor NNTP-Posting-Date: 20 Nov 2007 21:26:22 CET NNTP-Posting-Host: 3df910fb.newsspool4.arcor-online.net X-Trace: DXC=ePeP^n\kdHPYQ5E:lRYH]6>V0`c3U=kbmW`a1fGWC`2T@AUZfC[DEB39kTfBL[ X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:18538 Date: 2007-11-20T21:26:22+01:00 List-Id: 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.