comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Optimal Compilation Desired
Date: 1998/11/25
Date: 1998-11-25T00:00:00+00:00	[thread overview]
Message-ID: <73h35m$ph0$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 365B5C3D.E593F179@hiwaay.net

In article <365B5C3D.E593F179@hiwaay.net>,
  aeg@hiwaay.net, glover@thaad.tecmasters.com wrote:

> Does anyone have a script or command line that will optimally compile
> all code in a given directory, i.e. don't compile specs that have bodies
> or separates.  I have a library of reuse code that does not contain any
> kind of main and I just want to compile everything.  I currently compile
> *.ads and then *.adb, but this of course attempts to compile specs
> that don't need to be compiled.

Uhhh, what compiler are we talking about here? With Gnat, you don't compile
specs; they get compiled with every body that withs them. With Tucker's
favorite front-end (used on ObjectAda and GreenHills and probably others),
you should be able to "adareg -all", then use whatever recompilation command
exists for your compiler.

--
T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  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 ` dennison [this message]
1998-11-25  0:00 ` Tom Moran
1998-11-25  0:00   ` Anthony E. Glover
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