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!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: gprbuild fun Date: Sun, 28 Jun 2015 18:28:13 +0100 Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="c762050aff3a30866fa7e79999b14776"; logging-data="28319"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JASOEmL0vyWCYJEeopHh+QJt/QL+9fIw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:6YfXwwf3ks0Gx2MSJLTdMXMdnJE= sha1:x6O6+cAUdhDRDtKJE92IscV2o0M= Xref: news.eternal-september.org comp.lang.ada:26513 Date: 2015-06-28T18:28:13+01:00 List-Id: I have a mixed-language GPR like project build is for languages use ("ada", "c"); for source_files use ("a.adb", "c.c"); package ide is for compiler_command ("ada") use "gnatmake"; end ide; end build; (I have no idea why I introduced the compiler_command setting on 2014-05-01, and I have no idea why the issue has only just surfaced) and, if I have the native gcc and arm-eabi-gcc present in the PATH, gprbuild chooses to use the native gcc for the Ada part and arm-eabi-gcc for the C part! Fix: delete the compiler_command line. _That_ was fun.