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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b5f7c3673f6a6b92 X-Google-Attributes: gid103376,public From: "Anthony E. Glover" Subject: Re: Optimal Compilation Desired Date: 1998/11/25 Message-ID: <365C0476.C397C161@hiwaay.net>#1/1 X-Deja-AN: 415514463 References: <365B5C3D.E593F179@hiwaay.net> <365babfb.44614922@news.pacbell.net> Content-Type: multipart/mixed; boundary="------------69D4357228B1085EC111CA4C" Organization: ELMCO, Inc. MIME-Version: 1.0 Reply-To: aeg@hiwaay.net, glover@thaad.tecmasters.com Newsgroups: comp.lang.ada Date: 1998-11-25T00:00:00+00:00 List-Id: This is a multi-part message in MIME format. --------------69D4357228B1085EC111CA4C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Tom Moran wrote: > > I'm confused about just what you want, but perhaps it just needs a > dummy main program that 'with's every spec in the directory? ie, pipe > a dir *.ads to a file, then edit that into a set of "with xyz;" > followed by "procedure dummy is begin null;end dummy;" To clarify, according to the gnat documentation, only package bodies need to be compiled. When the body is coompiled the spec will also get coompiled; therefore if I compile the spec and then turn around and compile the body, then the first compile of the spec was a waste of time. However, if you have a package spec that has no body, then the spec needs to be compiled. I was hoping to find a simple way of giving a command that would compile bodies only except when there was only a spec. I had tought about the above solution, but I was hoping there might be a simpler solution that I can use within our build scripts. Thanks, Tony --------------69D4357228B1085EC111CA4C Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Anthony E. Glover Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Anthony E. Glover n: Glover;Anthony E. org: ELMCO, Inc. email;internet: aeg@hiwaay.net title: Senior Software Engineer x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------69D4357228B1085EC111CA4C--