comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Setting up GPRBUILD for Ada in mingw64
Date: Wed, 12 Jul 2017 07:50:08 +0100
Date: 2017-07-12T07:50:08+01:00	[thread overview]
Message-ID: <lybmoqrvxb.fsf@pushface.org> (raw)
In-Reply-To: d26f5aaa-277e-4402-9d69-b6cc9453574d@googlegroups.com

Jere <jhb.chat@gmail.com> writes:

> but when I tried to run a simple:
>
> gprbuild -P test_gnoga.gpr
>
> or any gpr file for that matter, I get the following error
>
> "Error: no native compiler found for language 'ada', default runtime
> test_gnoga.gpr:1:06: unknown project file: "Gnoga"
> gprbuild: "test_gnoga.gpr" processing failed"

gprbuild uses gprconfig to work out what compilers are
available. gprconfig probes the environment in various ways, for example
by examining the output of "gcc -dumpmachine".

Try running "gprconfig -v foo.gpr" and see whether (a) the compiler
you've installed is found at all, (b) [if you can! the output can be a
bit terse] why it was rejected.

A while back you had to say "gprbuild --target=<target>" (where <target>
is the output of "gcc -dumpmachine", e.g. x86_64-apple-darwin14.5.0) if
gprbuild was built with a different compiler than the one you have on
your PATH, but the pattern matching has got a lot better since then.

  reply	other threads:[~2017-07-12  6:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-12  0:26 Setting up GPRBUILD for Ada in mingw64 Jere
2017-07-12  6:50 ` Simon Wright [this message]
2017-07-12 13:05   ` Jere
2017-07-12 13:09   ` Jere
2017-08-29 14:16     ` Jere
2017-07-12  6:54 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox