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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID 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: dennison@telepath.com Subject: Re: Optimal Compilation Desired Date: 1998/11/25 Message-ID: <73h35m$ph0$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 415531923 References: <365B5C3D.E593F179@hiwaay.net> X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) X-Http-Proxy: 1.0 x10.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Nov 25 14:11:20 1998 GMT Newsgroups: comp.lang.ada Date: 1998-11-25T00:00:00+00:00 List-Id: 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