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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.176.84.148 with SMTP id p20mr505249uaa.13.1475565315888; Tue, 04 Oct 2016 00:15:15 -0700 (PDT) X-Received: by 10.157.11.146 with SMTP id 18mr60686oth.13.1475565315824; Tue, 04 Oct 2016 00:15:15 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!g45no158405qte.1!news-out.google.com!w143ni6062itb.0!nntp.google.com!o19no145622ito.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 4 Oct 2016 00:15:15 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.25.39.46; posting-account=FZSaEQoAAAAXdVQbBo8KLQ8RHCBHvDzm NNTP-Posting-Host: 193.25.39.46 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: GNAT GPL2016 on Ubuntu 15.04 and Debian 8 From: "M. Enzmann" Injection-Date: Tue, 04 Oct 2016 07:15:15 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:31985 Date: 2016-10-04T00:15:15-07:00 List-Id: Hi all! I am using GNAT GPL2016 to compile the Ada Drivers Library and the Embedded Runtimes from GitHub. I am a little puzzled about the results I get. I managed to compile and run some of the examples on a STM32F4 Discovery board. So far, so good. I do get however, a couple of error (?) messages at the end of the compilation process, telling me, that arm-eabi-ar failed due a wrong ELF-class (error message is in German, something like... '/bin/arm-eabi-ar: //lib/bfd-plugins/liblto_plugin.so: wrong ELF-Class ELFCLASS64' (why would a dynamic library be needed, when libgnarl is supposed to be build as a static library?) A second run of gprbuild on ravenscar_build.gpr then tells me, that libgnarl.a is up-to date. In the end the executables I get, when compiling the examples, show two symbols annotated with '?' in nm, the symbols being '__ccmdata_end' and '_ccmdata_start' I've been following Simon Wrights hint during installation of the compiler: First I installed the cross-compiler, then the native compiler. (The other way round gprbuild didn't find gcc for some reason'. Any ideas what I am missing? Help would be appreciated. Thanks in advance, Marc