comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: gprbuild not working on GNAT 2015 GPL for raspberry pi cross compile
Date: Sun, 12 Jul 2015 06:56:19 +0100
Date: 2015-07-12T06:56:19+01:00	[thread overview]
Message-ID: <ly4ml9ly0s.fsf@pushface.org> (raw)
In-Reply-To: 86615q0z14.fsf@stephe-leake.org

Stephen Leake <stephen_leake@stephe-leake.org> writes:

> Brad Moore <brad.moore@shaw.ca> writes:
>
>> I am trying to get gprbuild to work for the GNAT 2015 GPL Raspberry Pi
>> 2 Linux (32 bits) release.
>>
>> When I try to build one of my project files, I get the error,
>>
>> "warning: no compiler specified for language "Ada", ignoring all its
>> sources"
>
> Run gprconfig -v
>
> and see what it says about what compilers are available. Then specify
> one of those as the target for the gprbuild.

Actually,

   gprconfig -v --target=<your target>

or

   gprconfig -v --target=all

Gprconfig looks for a compiler and a runtime. If it finds {target}-gcc
it runs -dumpmachine to find the version, then looks for runtimes in (at
least) lib/gcc/{target}/{version}; first in adalib/, then via
ada_object_path, then via rts-*/.


  reply	other threads:[~2015-07-12  5:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-11 18:13 gprbuild not working on GNAT 2015 GPL for raspberry pi cross compile Brad Moore
2015-07-11 19:04 ` Simon Wright
2015-07-12  4:40 ` Stephen Leake
2015-07-12  5:56   ` Simon Wright [this message]
2015-07-12 20:32     ` Brad Moore
2017-08-28 17:22       ` paherbst
2018-06-16 10:28 ` jeanbaptistesmn
2018-06-21 16:27   ` 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