comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT GPL 2016 on Debian Jessie
Date: Tue, 12 Jul 2016 11:12:33 +0100
Date: 2016-07-12T11:12:33+01:00	[thread overview]
Message-ID: <lyy457upv2.fsf@pushface.org> (raw)
In-Reply-To: lytwfwz0sx.fsf@pushface.org

Simon Wright <simon@pushface.org> writes:

> I have 64-bit Debian Jessie (running under VMware Fusion).
>
> I installed GNAT GPL 2016 (for experiments) and now find that gprbuild
> can't find any compilers.
>
> This is because gprconfig can't find any compilers:

It turns out that this was because I'd installed the arm-eabi compiler
over the x86_64 compiler.

Unlike the Mac versions I've been supporting over on Sourceforge, the
arm-eabi compiler contains its own gpr*, gps* versions (presumably so
that embedded developers don't need to download and install a hosted
compiler; but why wouldn't you?).

A fix that works for me is to install the cross compiler first, then
install the native compiler on top of it (I don't fancy having to use
different PATHs for the two targets, though I suppose you could put the
native compiler first and then the cross compiler, so that the cross
gpr* would never be seen).

      parent reply	other threads:[~2016-07-12 10:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-11 14:50 GNAT GPL 2016 on Debian Jessie Simon Wright
2016-07-11 18:47 ` rieachus
2016-07-12  7:11   ` Simon Wright
2016-07-11 19:36 ` joakimds
2016-07-12  6:21   ` ogpual
2016-07-12  7:26     ` Simon Wright
2016-07-12 10:12 ` Simon Wright [this message]
replies disabled

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