From: "Anthony E. Glover" <aeg@hiwaay.net>
Subject: Re: Optimal Compilation Desired
Date: 1998/11/25
Date: 1998-11-25T00:00:00+00:00 [thread overview]
Message-ID: <365C0476.C397C161@hiwaay.net> (raw)
In-Reply-To: 365babfb.44614922@news.pacbell.net
[-- Attachment #1: Type: text/plain, Size: 926 bytes --]
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
[-- Attachment #2: Card for Anthony E. Glover --]
[-- Type: text/x-vcard, Size: 274 bytes --]
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
next prev parent reply other threads:[~1998-11-25 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-24 0:00 Optimal Compilation Desired Anthony E. Glover
1998-11-25 0:00 ` Tom Moran
1998-11-25 0:00 ` Anthony E. Glover [this message]
1998-11-25 0:00 ` dennison
1998-12-02 0:00 ` Thomas Preymesser
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox