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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,f4f50970968de59d,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!p8g2000yqb.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: GNAT project and search directories Date: Mon, 28 Dec 2009 01:44:19 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 86.66.190.134 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1261993459 13410 127.0.0.1 (28 Dec 2009 09:44:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 28 Dec 2009 09:44:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p8g2000yqb.googlegroups.com; posting-host=86.66.190.134; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8543 Date: 2009-12-28T01:44:19-08:00 List-Id: 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. So, it seems search paths are not the same with and without a GPR file. I've searched the web about it, and did not find a clear explanation. http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gnat_ugn_unw/Search-Paths-for-gnatbind.html and http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gnat_ugn_unw/Search-Paths-and-the-Run_002dTime-Library-_0028RTL_0029.html are just talking about ADA_PRJ_OBJECTS_FILE and ADA_PRJ_INCLUDE_FILE, but lack explanation about how these are assigned. Why are the paths not the same with and without a GPR file and what are formally the difference when a a GPR file is or is not used ? By the way, just because I feel inquisitive with it : did someone know what is the license of the GPRBuild language ?