comp.lang.ada
 help / color / mirror / Atom feed
* Re: Ada compile ordering routine
@ 1993-05-17 19:07 dog.ee.lbl.gov!overload.lbl.gov!agate!howland.reston.ans.net!newsserver.j
  0 siblings, 0 replies; 5+ messages in thread
From: dog.ee.lbl.gov!overload.lbl.gov!agate!howland.reston.ans.net!newsserver.j @ 1993-05-17 19:07 UTC (permalink / raw)


In <1993May17.090208.1@sep.vitro.com> terrda@sep.vitro.com writes:

>Need to compile 100+ Ada modules on a VAX and was wondering if there
>was a DCL procedure or whatever that would create a DCL procedure to
>assist in compiling the modules in the correct order.  I'd settle for
>a routine that would generate the order if that's available.
>Any help would be appreciated.

Here it is:

Assuming the ada files are in the current working directory:

$ ACS LOAD *.ADA
$ ACS RECOMPILE/LOG *

That's it.  It does on very rare occasions involving complicated generics
require a repitition of the last line.  If you want to see the order it 
compiled them, try 

$ACS RECOMPILE/COMMAND=[]COMPILE_EVERYTHING.COM 

and it will generate a command file for you rather than actually doing the
recompile.

You can also do the original two lines (load/recompile) and then do

$ ACS SHO PROGRAM/OUT = CLOSURE.LIST  

if you just want to see dependencies.  
There are other options.

Good luck,

--Thor
dlc@ddsdx2.jhuapl.edu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Ada compile ordering routine
@ 1993-05-18 18:18 psinntp!psinntp!vitro.com!vitro.com!terrda
  0 siblings, 0 replies; 5+ messages in thread
From: psinntp!psinntp!vitro.com!vitro.com!terrda @ 1993-05-18 18:18 UTC (permalink / raw)


In article <1993May17.190701.21994@aplcen.apl.jhu.edu>, dlc@ddsdx2.jhuapl.edu (
Dave Collard x7468) writes:
> In <1993May17.090208.1@sep.vitro.com> terrda@sep.vitro.com writes:
> 
>>Need to compile 100+ Ada modules on a VAX and was wondering if there
>>was a DCL procedure or whatever that would create a DCL procedure to
>>assist in compiling the modules in the correct order.  I'd settle for
>>a routine that would generate the order if that's available.
>>Any help would be appreciated.
> 
> Here it is:
> 
> Assuming the ada files are in the current working directory:
> 
> $ ACS LOAD *.ADA
> $ ACS RECOMPILE/LOG *
> 
> That's it.  It does on very rare occasions involving complicated generics
> require a repitition of the last line.  If you want to see the order it 
> compiled them, try 
> 
> $ACS RECOMPILE/COMMAND=[]COMPILE_EVERYTHING.COM 
> 
> and it will generate a command file for you rather than actually doing the
> recompile.
> 
> You can also do the original two lines (load/recompile) and then do
> 
> $ ACS SHO PROGRAM/OUT = CLOSURE.LIST  
> 
> if you just want to see dependencies.  
> There are other options.
> 
> Good luck,
> 
> --Thor
> dlc@ddsdx2.jhuapl.edu
> 
Thanks for the advice.  Wes G. said he sent you a response sometime ago
about some trick for dealing with a large number of modules.  If you could send
 
me a copy, it would save him some time of retyping it in.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Ada compile ordering routine
@ 1993-05-18 18:27 Step he Leake
  0 siblings, 0 replies; 5+ messages in thread
From: Step he Leake @ 1993-05-18 18:27 UTC (permalink / raw)


In article <1993May17.090208.1@sep.vitro.com>, terrda@sep.vitro.com writes...
>Need to compile 100+ Ada modules on a VAX and was wondering if there
>was a DCL procedure or whatever that would create a DCL procedure to
>assist in compiling the modules in the correct order.

DEC Ada does this; in ACS, do LOAD *.ADA, then COMPILE *. Hey presto, an 
up-to-date Ada library.

Alsys hosted on a VAX has an amake tool, which supposedly does this, but
I haven't tried it.

Stephen Leake	NASA Goddard Robotics Lab
internet : nbssal@robots.gsfc.nasa.gov

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Ada compile ordering routine
@ 1993-05-19 18:58 aio!usenet
  0 siblings, 0 replies; 5+ messages in thread
From: aio!usenet @ 1993-05-19 18:58 UTC (permalink / raw)


In article <1993May17.190701.21994@aplcen.apl.jhu.edu> dlc@ddsdx2.jhuapl.edu
(Dave Collard x7468) writes:
>In <1993May17.090208.1@sep.vitro.com> terrda@sep.vitro.com writes:
>
>>Need to compile 100+ Ada modules on a VAX and was wondering if there
>>was a DCL procedure or whatever that would create a DCL procedure to
>>assist in compiling the modules in the correct order.  I'd settle for
>>a routine that would generate the order if that's available.
>>Any help would be appreciated.
>

Thanks a bunch! I've been looking for this also!

>Here it is:
>
>Assuming the ada files are in the current working directory:
>
>$ ACS LOAD *.ADA
>$ ACS RECOMPILE/LOG *
>
>That's it.  It does on very rare occasions involving complicated generics
>require a repitition of the last line.  If you want to see the order it 
>compiled them, try 
>
>$ACS RECOMPILE/COMMAND=[]COMPILE_EVERYTHING.COM 
>
>and it will generate a command file for you rather than actually doing the
>recompile.
>
>You can also do the original two lines (load/recompile) and then do
>
>$ ACS SHO PROGRAM/OUT = CLOSURE.LIST  
>
>if you just want to see dependencies.  
>There are other options.
>
>Good luck,
>
>--Thor
>dlc@ddsdx2.jhuapl.edu
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Ada compile ordering routine
@ 1993-05-19 19:16 aio!usenet
  0 siblings, 0 replies; 5+ messages in thread
From: aio!usenet @ 1993-05-19 19:16 UTC (permalink / raw)


In article <1993May19.185801.29048@aio.jsc.nasa.gov>
cobarruvias@asd2.jsc.nasa.gov writes:
>In article <1993May17.190701.21994@aplcen.apl.jhu.edu> dlc@ddsdx2.jhuapl.edu
>(Dave Collard x7468) writes:
>>In <1993May17.090208.1@sep.vitro.com> terrda@sep.vitro.com writes:
>>
>>>Need to compile 100+ Ada modules on a VAX and was wondering if there
>>>was a DCL procedure or whatever that would create a DCL procedure to
>>>assist in compiling the modules in the correct order.  I'd settle for
>>>a routine that would generate the order if that's available.
>>>Any help would be appreciated.
>>
>
>Thanks a bunch! I've been looking for this also!
>
>>Here it is:
>>
>>Assuming the ada files are in the current working directory:
>>
>>$ ACS LOAD *.ADA
>>$ ACS RECOMPILE/LOG *
>>
>>That's it.  It does on very rare occasions involving complicated generics
>>require a repitition of the last line.  If you want to see the order it 
>>compiled them, try 
>>
>>$ACS RECOMPILE/COMMAND=[]COMPILE_EVERYTHING.COM 
>>
>>and it will generate a command file for you rather than actually doing the
>>recompile.
>>
>>You can also do the original two lines (load/recompile) and then do
>>
>>$ ACS SHO PROGRAM/OUT = CLOSURE.LIST  
>>
>>if you just want to see dependencies.  
>>There are other options.
>>
>>Good luck,
>>
>>--Thor
>>dlc@ddsdx2.jhuapl.edu
>>
>>
>
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1993-05-19 19:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-05-18 18:18 Ada compile ordering routine psinntp!psinntp!vitro.com!vitro.com!terrda
  -- strict thread matches above, loose matches on Subject: below --
1993-05-19 19:16 aio!usenet
1993-05-19 18:58 aio!usenet
1993-05-18 18:27 Step he Leake
1993-05-17 19:07 dog.ee.lbl.gov!overload.lbl.gov!agate!howland.reston.ans.net!newsserver.j

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox