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: a07f3367d7,f4f50970968de59d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: GNAT project and search directories Date: Mon, 28 Dec 2009 11:21:12 +0100 Organization: Adalog Message-ID: References: NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1261998334 398 195.25.228.57 (28 Dec 2009 11:05:34 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 28 Dec 2009 11:05:34 +0000 (UTC) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: Xref: g2news1.google.com comp.lang.ada:8544 Date: 2009-12-28T11:21:12+01:00 List-Id: Hibou57 (Yannick Duch�ne) a �crit : > Hi all, hope you have a merry Christmas in peace > > Compiling AdaDep, I've noticed different behaviors when compiling with > and without the provided GPR file. > > When the compilation is done without the GPR file, I have to give > gnatmake, the path for the ASIS source directory with an -I option. > > When the compilation is done with the GPR file, this option is not > needed while there is no directory specification at all for the ASIS > library path in the GPR file. > The provided build.gpr has a "with asis" line. This will search for an asis.gpr file. If (as recommended) you installed ASIS under the gnat root directory, there is an asis.gpr file in /lib/gnat, which is always a default location for .gpr files. No such mechanism exists if you don't use project files. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr