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-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!g19g2000yql.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: MinGW GNAT and GCC specs strings Date: Tue, 26 May 2009 22:02:42 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 77.198.58.245 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1243400562 20577 127.0.0.1 (27 May 2009 05:02:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 27 May 2009 05:02:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g19g2000yql.googlegroups.com; posting-host=77.198.58.245; 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: g2news2.google.com comp.lang.ada:6033 Date: 2009-05-26T22:02:42-07:00 List-Id: Hello all of you, I've builded a custom MinGW environnemen. I've tried it on a C file : Ok. Then I've tried it on an Ada file : Failed. gnat1 failed to find system.ads. So I attempted to pass an "-Imydir" option to gnat1 adding a "*gnat1: -Imydir." specs string in the GCC specs file, but it does not seems to work. As a check, if I invok "gcc -v -c test.adb", then I can see that the arguments I want to pass to gnat1 via the GCC specs file is not given to the gnat1 command line. So I suppose GCC does not know the gnat1 specs string (although is perfectly knows the cc1 specs string). Is it possible to pass the "-Imydir" command line option to gnat1 using the GCC specs file ? Or is there another way, without using environnement variables, to tell gnat1 where Ada includes and libs are located ? Have a nice day