From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 19 May 93 18:58:01 GMT From: aio!usenet@tmc.edu Subject: Re: Ada compile ordering routine Message-ID: <1993May19.185801.29048@aio.jsc.nasa.gov> List-Id: 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 > >