From: Victor Porton <porton@narod.ru>
Subject: Re: Difference between gprbuild and gnatmake
Date: Thu, 13 Jul 2017 18:01:52 +0300
Date: 2017-07-13T18:01:52+03:00 [thread overview]
Message-ID: <ok8210$dsk$1@gioia.aioe.org> (raw)
In-Reply-To: lyy3rsrhyu.fsf@pushface.org
Simon Wright wrote:
> 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).
"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
next prev parent reply other threads:[~2017-07-13 15:01 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
2017-07-13 8:39 ` Stephen Leake
2017-07-13 14:12 ` Simon Wright
2017-07-13 15:01 ` Victor Porton [this message]
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