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!feeder.eternal-september.org!aioe.org!.POSTED.N5M2DXr2fJIsm61cKlUWUQ.user.gioia.aioe.org!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Configurable Run Time without GPR Tools Date: Tue, 05 Nov 2019 09:18:22 +0000 Organization: Aioe.org NNTP Server Message-ID: References: <81aba060-6f05-4a6d-a7cb-b896d7f70112@googlegroups.com> NNTP-Posting-Host: N5M2DXr2fJIsm61cKlUWUQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:FhJ7mEI64iixPHPsoH9n6sSqGdg= Xref: reader01.eternal-september.org comp.lang.ada:57483 Date: 2019-11-05T09:18:22+00:00 List-Id: "Dmitry A. Kazakov" writes: > On 2019-11-05 06:47, Daniel Way wrote: >> - are the GPR tools absolutely necessary for building a run time, or >> is there another way to compile standard library packages? > They are not necessary. You can use gnatmake or even just gcc and > gnatbind etc. Yet gprbuild saves a huge amount of time and work, > especially for large projects. It is also quite powerful and safe when > it comes to multiple targets within same project. It really pays off > to learn it a bit. If you look at e.g. $prefix/arm-eabi/lib/gnat/zfp-stm32f4 you'll see runtime.xml which gprbuild uses to control the target-specific switches for the compiler and linker. It saves a lot of grief to let gprbuild do this.