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,FREEMAIL_FROM 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!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: Victor Porton Newsgroups: comp.lang.ada Subject: Re: Difference between gprbuild and gnatmake Date: Thu, 13 Jul 2017 18:01:52 +0300 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: 7FC+AFz9JDlFr1M+aryvGg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@aioe.org User-Agent: KNode/4.14.10 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:47403 Date: 2017-07-13T18:01:52+03:00 List-Id: Simon Wright wrote: > Victor Porton writes: > >> From another thread: >> >>> You should probably be using gprbuild, not gnatmake. >> >> What is the difference? Is gprbuild a newer version of gnatmake? What are >> their differences? > > gnatmake is part of the compiler suite (it's used in the compiler > build). gprbuild is not part of the compiler; it used only to be > generally available in source form as part of GNAT GPL releases, but > nowadays it's on github[1]. > > From there, "GPRbuild is an advanced build system designed to help > automate the construction of multi-language systems."; it understands > multiple languages (C, C++, Fortran at least - I haven't tried Fortran). > > GCC 6 said > > warning: gnatmake -P is obsolete and will not be available in the > next release; use gprbuild instead > > but in fact GCC 8.0.0's gnatmake will accept project files (to some > extent, anyway, on a simple test). "Will"? gnatmake of my GCC 7.1.0 (not 8.0.0) does accept project files: gnatmake -p -c -Plibrdf.gpr -XLIBRARY_KIND=static -XOBJ_DIR=./obj-static - Xsoversion=librdf-ada.so.2.0.15 -XMODE=Install -XDEBUG_MODE=check > [1] https://github.com/AdaCore/gprbuild -- Victor Porton - http://portonvictor.org