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: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: gprbuild fun Date: Mon, 29 Jun 2015 09:58:12 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 29 Jun 2015 09:58:12 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="da745e888d4a5182b5fda6212bbb0a63"; logging-data="16418"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VFuvtRpp+ogGt5X+4zfRoZKMnhhf7q5U=" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:ixr3sllDPJNLbzWGSwLifRrKBPU= Xref: news.eternal-september.org comp.lang.ada:26527 Date: 2015-06-29T09:58:12+00:00 List-Id: On Sun, 28 Jun 2015 18:28:13 +0100, Simon Wright wrote: > 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; > 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. Presumably, ... editing it to arm-eabi-gnatmake would also work? -- Brian