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: How to best organize and build large projects? Date: Mon, 21 Sep 2015 17:38:05 +0100 Organization: A noiseless patient Spider Message-ID: References: <428ab038-94ac-4549-ae3b-0b06f4fb80a8@googlegroups.com> <4edb56c1-661f-403d-8c9d-9bd0c3301ec7@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="90a04fd2ec31e3fef462e17581f28739"; logging-data="6377"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XvXW739agdLi8u/SWpucs/S0Yn1RU4Rs=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:mN6hJ/pOX+22lO8zId3ugqzX93s= sha1:2oQxCNBuE8QOArnlHPYNWyRoI5Y= Xref: news.eternal-september.org comp.lang.ada:27805 Date: 2015-09-21T17:38:05+01:00 List-Id: David Botton writes: >> gnatmake isn't the right tool: use gprbuild. NB > > Just keep in mind that FSF GNAT on Windows and other platforms (except > OSX thanks to your great work and Linux) does not have gprbuild so > things getting uglier down the road unless someone either hacks > gprbuild for those platforms or someone creates a universal version > not dependant on specific GNAT builds. It is some work, but you can use the GPL gprbuild with GCC 5.1 (for example). I made some notes in the README for the Mac gcc-5.1.0-2015-bin release; The tools require gprbuild, but gprbuild requires XMLAda. The workround was to build with GNAT GPL 2015 on the PATH before FSF GCC 5.1.0, but to run gprconfig so as to create a default.cgpr which selected the FSF GCC, and copy this to each tool's head directory before doing the build. This allowed me to use Gprbuild GPL 2015 to build XMLAda, and then to build itself with appropriate --build and --prefix options to configure. In any case, the GPL gprbuild source (which is the only source available to us) is easy enough to configure for your environment.