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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT GPL 2016 on Debian Jessie Date: Tue, 12 Jul 2016 11:12:33 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="9627cd948fe47a1e33ddb21cdd8ab4b0"; logging-data="29804"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19iUsK6FKplmnOdLp5g3qV58L2FzGijgFA=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:ofev6SZemdSysskQM/dH4ksbxis= sha1:xFdAJ/0W5d7BUmdo0t8cU29PQg0= Xref: news.eternal-september.org comp.lang.ada:31074 Date: 2016-07-12T11:12:33+01:00 List-Id: Simon Wright 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).