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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,91659337883818ce X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!usenet-fr.net!news.enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Using ASIS when source is in multiple directories Date: Mon, 18 Apr 2005 19:58:10 -0400 Organization: Cuivre, Argent, Or Message-ID: References: <5ul761h1dkc06ls2bsk7adaq73a6jdrbui@4ax.com> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1113868718 90289 212.85.156.195 (18 Apr 2005 23:58:38 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Mon, 18 Apr 2005 23:58:38 +0000 (UTC) Cc: comp.lang.ada@ada-france.org To: James Alan Farrell Return-Path: In-Reply-To: <5ul761h1dkc06ls2bsk7adaq73a6jdrbui@4ax.com> (James Alan Farrell's message of "Mon, 18 Apr 2005 11:55:43 -0400") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:10549 Date: 2005-04-18T19:58:10-04:00 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. -- -- Stephe