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!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx13.iad.POSTED!not-for-mail From: Brad Moore User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: gprbuild not working on GNAT 2015 GPL for raspberry pi cross compile Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 68.145.219.148 X-Complaints-To: internet.abuse@sjrb.ca X-Trace: 1436638387 68.145.219.148 (Sat, 11 Jul 2015 18:13:07 UTC) NNTP-Posting-Date: Sat, 11 Jul 2015 18:13:07 UTC Date: Sat, 11 Jul 2015 12:13:06 -0600 X-Received-Bytes: 2588 X-Received-Body-CRC: 2531150358 Xref: news.eternal-september.org comp.lang.ada:26782 Date: 2015-07-11T12:13:06-06:00 List-Id: 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" I can build most of my projects with arm-linux-gnueabihf-gnatmake instead of gprbuild. However, some of my projects involve multi-language support, which fails to build. I suspect that if I could get gprbuild to work, then I would be able to build these projects. I have googled and found others with similar problems on other GNAT releases, but have not seen any real fixes. Has anyone had any luck using gprbuild for this release. I think I could possibly get things to work by defining the GNAT compiler from scratch in the gprbuild knowledgebase files, but surely one shouldn't need to do that if the compiler is GNAT. One would think the base install would have set things up for compiling Ada. So I suspect, there is a quick and easy fix. Anyone know what that might be? Has anyone managed to get gprbuild to work with the 2015 Raspberry Pi GPL release of GNAT? gprbuild does work fine with the x86 build of the x86 2015 GPL release. One thing I note, is that when I use the -v flag on the gprbuild command line, I see --target=x86-linux I would have thought the target show as --target=arm-linux-gnueabihf Yet, the only compilers in my PATH are the Raspberry GNAT cross compiler, and the FSF x86 compiler for the 4.9 release. The Raspberry GPL compiler appears first in the PATH. However, if I run /usr/gnat/bin/gprconfig --show-targets I only get the following output; List of targets supported by a compiler: x86_64-linux-gnu It appears that gprbuild and gprconfig are unable to find the install of the raspberry Pi cross compiler. Regards, Brad Moore