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: Re: gprbuild fun Date: Mon, 29 Jun 2015 12:17:38 +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="c762050aff3a30866fa7e79999b14776"; logging-data="6495"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/e0w5prWsg2vChxsEA4sa08f5/Bv+cHJM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:E96E7FkuOPaI8VoQqpwN1DzmtXg= sha1:61bfkxUwkFd0S5szO8TINxsN2Cg= Xref: news.eternal-september.org comp.lang.ada:26532 Date: 2015-06-29T12:17:38+01:00 List-Id: Mark Lorenzen writes: > Why not simply state the target using the (appropriately named) Target > project attribute and then build using gprbuild? We use Target and > Runtime attributes and it works like a charm: As I said to Brian, this was (intended to be!) a native build. > project xyz is > > for Languages use ("Ada"); > > for Target use "leon3-elf"; > for Runtime ("Ada") use "ravenscar-full-leon3"; > ... > > end XYZ; > > Are these two attributes not supported by FSF GNAT (yet)? Both of them are supported in GPRBUILD GPL 2015, but GPRBUILD GPL 2014 doesn't support Runtime. gnatmake doesn't do mixed-language builds, and won't support project files in the next release (of FSF GCC, I presume): $ gnatmake -v -P build warning: gnatmake -P is obsolete and will not be available in the next release; use gprbuild instead