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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.13.196.66 with SMTP id g63mr2865114ywd.140.1476711006084; Mon, 17 Oct 2016 06:30:06 -0700 (PDT) X-Received: by 10.157.32.11 with SMTP id n11mr2268246ota.4.1476711006044; Mon, 17 Oct 2016 06:30:06 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!f6no1809823qtd.0!news-out.google.com!w143ni891itb.0!nntp.google.com!e187no1335958itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 17 Oct 2016 06:30:05 -0700 (PDT) In-Reply-To: <370df9d5-e4e1-434c-b25f-5e80c64ac194@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.163.1.105; posting-account=Srm5lQoAAAAEMX9rv2ilEKR6FDPapmSq NNTP-Posting-Host: 193.163.1.105 References: <094a38ea-77a6-413d-a1cc-f9c1b53e7c05@googlegroups.com> <777c0daf-712e-4465-a11d-7cb0e8c196a4@googlegroups.com> <370df9d5-e4e1-434c-b25f-5e80c64ac194@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <070ee389-687f-4953-9ae4-e3dbed76c1ed@googlegroups.com> Subject: Re: Cygwin grpbuild problems From: Mark Lorenzen Injection-Date: Mon, 17 Oct 2016 13:30:06 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:32094 Date: 2016-10-17T06:30:05-07:00 List-Id: On Monday, October 17, 2016 at 3:11:51 PM UTC+2, Maciej Sobczak wrote: > > Did you declare the used languages in the project file? >=20 > I am using Ada and I expect the dedicated Ada tool to somehow figure this= out. Especially in a project where the source directory contains *only* Ad= a files. As I understand it, gnatmake was an Ada-only builder and it was not possibl= e (or necessary) to declare the list of used languages. Gprbuild is a multi= -language builder. The only times I have seen the error message you posted, was when I had for= gotten to declare the languages used. When adding the following line it wor= ked fine: for Languages use ("Ada"); However the gprbuild manual (http://docs.adacore.com/gprbuild-docs/html/gpr= build_ug.html) hints that it shouldn't be necessary when it is an ada-only = project (see section 2.2.1). As Dmitry mentionen you should have an Ada compiler in your PATH in order f= or gprbuild to find it. > Most importantly, this project compiled without problems on another platf= orm. I remember not long ago (actually, this is a recurring subject) we hav= e been discussing the advantages of Ada in the area of long-term maintenanc= e and portability. Ada, the language, might have some nice features here, b= ut gnatmake/gprbuild spoil this in a big way. I don't know what problems you have encountered using gprbuild, but we are = happy with it. We haven't tried to port an existing project to a new platfo= rm though. Regards, Mark L