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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2a94e3d53d82207f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-09-10 06:04:09 PST Newsgroups: comp.lang.ada Path: nntp.gmd.de!urmel.informatik.rwth-aachen.de!Aachen.Germany.EU.net!rmi.de!Germany.EU.net!EU.net!uknet!dcs.gla.ac.uk!news From: Jonathan AH Hogg Subject: Re: Multiple compilation-units (was: Re: GWU/ADA Interface) In-Reply-To: <34kpo2$11r@siberia.gatech.edu> X-Sender: jonathan@copinsay Content-Type: TEXT/PLAIN; charset=US-ASCII Message-ID: Sender: news@dcs.gla.ac.uk (Network News) Nntp-Posting-Host: copinsay Organisation: University of Glasgow (Department of Computing Science) Organization: Computing Science Dept., Glasgow University, Glasgow, Scotland References: <1994Sep1.122026.17797@sei.cmu.edu> <347b20$jf9@theopolis.orl.mmc.com> <347r7s$8nk@gnat.cs.nyu.edu> <34kpo2$11r@siberia.gatech.edu> Mime-Version: 1.0 Date: Sat, 10 Sep 1994 12:46:51 GMT X-Url: http://www.dcs.gla.ac.uk/~jonathan Date: 1994-09-10T12:46:51+00:00 List-Id: On 7 Sep 1994, John M. Mills wrote: > Could a 'make depend'-like function be built which works with GNAT libraries? > Maybe this effectively exists, but I didn't get that impression from the > thread. Could a set of 'imake' templates and rules be built to manage GNAT > builds? > > Any comments? i have written a zsh script to generate a list of dependancies for a gnat closure when pointed at the base unit. it is not too difficult to do as gnat will provide a list of dependancies for a unit on demand with the 'u' option. parsing this output (here's where it gets hairy) allows you to build the dependancies. i can make this available to anyone who is interested (though you'll have to port it if you don't have zsh). imake is still way beyond me though. i guess i'll have to read the book sometime. jonathan -- Jonathan AH Hogg, Computing Science Department, The University, Glasgow G12 8QQ jonathan@dcs.gla.ac.uk | http://www.dcs.gla.ac.uk/~jonathan | (+44|0)41 3304454 MIME, Mailtool, Eudora, MS-Mail, and POP-Mail attachments welcome | MY opinions