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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,91659337883818ce X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: James Alan Farrell Newsgroups: comp.lang.ada Subject: Re: Using ASIS when source is in multiple directories Date: Tue, 19 Apr 2005 10:17:59 -0400 Message-ID: References: <5ul761h1dkc06ls2bsk7adaq73a6jdrbui@4ax.com> X-Newsreader: Forte Free Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: fw.grammatech.com X-Trace: newsfeed.slurp.net 1113920364 209.4.89.67 (19 Apr 2005 09:19:24 -0500) X-Original-NNTP-Posting-Host: 209.4.89.67 Path: g2news1.google.com!news4.google.com!newshub.sdsu.edu!cyclone.bc.net!news.alt.net!newsfeed.slurp.net!not-for-mail Xref: g2news1.google.com comp.lang.ada:10573 Date: 2005-04-19T10:17:59-04:00 List-Id: On Mon, 18 Apr 2005 19:58:10 -0400, Stephen Leake wrote: I would say where the files are is up to my customers. I don't have much insight into how they do large Ada projects. But it is likely they will not have used ASIS before. What I do know is that my customers are several large well known military contractors (but I'm not at liberty to name names), and the analysis software will be used on very large ongoing projects. Is it normal to put the .o files into the same directory when not using ASIS? I think this approach is viable, as long as we can explain to them what needs to be done. Thanks, James Alan Farrell >James Alan Farrell writes: > >> Hello all, >> I'm working on software to analyze Ada programs using ASIS. I find >> that when the source is in multiple directories, ASIS cannot find all >> the .adt files. Is there some way to tell ASIS where to look? > >Hmm. Are the .adt files in multiple directories? or just the source >files? > >The "normal" way to use ASIS with GNAT is to run GNAT in a separate >build directory, giving it -I options for each source directory. That >way, all the .adt, .ali, .o files are in the one build directory. > >See Auto_Text_IO >(http://www.toadmail.com/~ada_wizard/ada/auto_text_io.html) for an >example of how to run the compiler from within an ASIS program.