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!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: parallel translation References: <4740d5f0$0$27131$9b4e6d93@newsspool1.arcor-online.net> <1195571423.6450.36.camel@kartoffel> <87r6ik1yx4.fsf@willow.rfc1149.net> In-Reply-To: <87r6ik1yx4.fsf@willow.rfc1149.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1195603762 12.201.97.213 (Wed, 21 Nov 2007 00:09:22 GMT) NNTP-Posting-Date: Wed, 21 Nov 2007 00:09:22 GMT Organization: AT&T ASP.att.net Date: Wed, 21 Nov 2007 00:09:22 GMT Xref: g2news1.google.com comp.lang.ada:18541 Date: 2007-11-21T00:09:22+00:00 List-Id: Samuel Tardieu wrote: >>>>>> "Jeffrey" == Jeffrey R Carter 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