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,8a450b4edc548df X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread3.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Gnat Ada question References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <1h43d.1332$qA6.186@newsread3.news.pas.earthlink.net> Date: Sun, 19 Sep 2004 00:20:13 GMT NNTP-Posting-Host: 63.184.9.25 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.pas.earthlink.net 1095553213 63.184.9.25 (Sat, 18 Sep 2004 17:20:13 PDT) NNTP-Posting-Date: Sat, 18 Sep 2004 17:20:13 PDT Xref: g2news1.google.com comp.lang.ada:3837 Date: 2004-09-19T00:20:13+00:00 List-Id: Gwynnnn wrote: > > Is it possible to have ada files in different directories and for the > gnat compiler to be able to find them and compile/link them all up > from adagide? If so how do you get it to do this? Certainly. You should really read the pertinent parts of the top-secret documentation to see how this is done. There are 2 environment variables that affect where GNAT looks; you can also use the -I parameter to gnatmake to specify additional directories. The former is beyond AdaGIDE to control; the latter can be specified using the "GNAT options in the current directory" selection from the AdaGIDE menu. -- Jeff Carter "Ada has made you lazy and careless. You can write programs in C that are just as safe by the simple application of super-human diligence." E. Robert Tisdale 72