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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Cygwin grpbuild problems Date: Mon, 17 Oct 2016 09:25:41 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <094a38ea-77a6-413d-a1cc-f9c1b53e7c05@googlegroups.com> NNTP-Posting-Host: vZYCW951TbFitc4GdEwQJg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:32091 Date: 2016-10-17T09:25:41+02:00 List-Id: On 17/10/2016 08:18, Maciej Sobczak wrote: > I tried to compile an older project of mine on Cygwin with GNAT 5.4.0. > I got the folliwing two messages: > > no languages defined for this project > warning: libraries are not supported on this platform > > (note: no shared libraries are involved, only static ones) > I was able to find these two messages mentioned in discussion forums > in relation to other projects and to other platforms, but no obvious > solutions was proposed there. > Did anybody found the same problem on Cygwin? Not with Cygwin but pretty frequently gprbuild cannot find Ada compiler which leads to such confusing messages. Sometimes it can be healed using gprconfig. In some cases by passing a configuration file to gprbuild. I was a big fan of ln -s /usr/bin/gnatmake /usr/bin/gprbuild (:-)) Unfortunately this method does not always work. BTW, gprbuild (rather GNAT hash tables it uses) has a bug which causes Constraint_Error in namet.adb while parsing project file. If you run into this, then only gnatmake helps. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de