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!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Difference between gprbuild and gnatmake Date: Thu, 13 Jul 2017 07:03:53 +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="e067077027e00849a00e33f09368d9b7"; logging-data="27306"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6IS8Y3YrT+GGUy+z2Kd/fBKxGoZMyOJ8=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin) Cancel-Lock: sha1:1n3GvMbHlML7sWpFGM+ckYSlnVU= sha1:N0mCvReH9PfawzwXc3kOogkyAAU= Xref: news.eternal-september.org comp.lang.ada:47393 Date: 2017-07-13T07:03:53+01:00 List-Id: 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). [1] https://github.com/AdaCore/gprbuild