Victor Porton <
por...@narod.ru> 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