From: Mark Lorenzen <mark.lorenzen@gmail.com>
Subject: Re: Cygwin grpbuild problems
Date: Mon, 17 Oct 2016 06:30:05 -0700 (PDT)
Date: 2016-10-17T06:30:05-07:00 [thread overview]
Message-ID: <070ee389-687f-4953-9ae4-e3dbed76c1ed@googlegroups.com> (raw)
In-Reply-To: <370df9d5-e4e1-434c-b25f-5e80c64ac194@googlegroups.com>
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?
>
> 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* Ada files.
As I understand it, gnatmake was an Ada-only builder and it was not possible (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 forgotten to declare the languages used. When adding the following line it worked fine:
for Languages use ("Ada");
However the gprbuild manual (http://docs.adacore.com/gprbuild-docs/html/gprbuild_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 for gprbuild to find it.
> Most importantly, this project compiled without problems on another platform. I remember not long ago (actually, this is a recurring subject) we have been discussing the advantages of Ada in the area of long-term maintenance and portability. Ada, the language, might have some nice features here, but 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 platform though.
Regards,
Mark L
next prev parent reply other threads:[~2016-10-17 13:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-17 6:18 Cygwin grpbuild problems Maciej Sobczak
2016-10-17 7:25 ` Dmitry A. Kazakov
2016-10-17 9:22 ` Mark Lorenzen
2016-10-17 13:11 ` Maciej Sobczak
2016-10-17 13:30 ` Mark Lorenzen [this message]
2016-10-17 17:25 ` Simon Wright
2016-10-18 6:18 ` Maciej Sobczak
2016-10-18 7:27 ` Dmitry A. Kazakov
2016-10-18 7:33 ` G.B.
2016-10-18 10:58 ` Simon Wright
2016-10-18 11:05 ` Simon Wright
2016-10-18 11:24 ` Mark Lorenzen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox