comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Difference between gprbuild and gnatmake
Date: Thu, 13 Jul 2017 07:03:53 +0100
Date: 2017-07-13T07:03:53+01:00	[thread overview]
Message-ID: <lyy3rsrhyu.fsf@pushface.org> (raw)
In-Reply-To: ok5r25$1c0c$1@gioia.aioe.org

Victor Porton <porton@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


  reply	other threads:[~2017-07-13  6:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-12 18:50 Difference between gprbuild and gnatmake Victor Porton
2017-07-13  6:03 ` Simon Wright [this message]
2017-07-13  8:39   ` Stephen Leake
2017-07-13 14:12     ` Simon Wright
2017-07-13 15:01   ` Victor Porton
2017-07-13 16:17     ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox