comp.lang.ada
 help / color / mirror / Atom feed
* Big differences between gnatmake and gprbuild
@ 2021-12-27  1:39 Doug Telford
  2021-12-27  6:19 ` Gautier write-only address
  0 siblings, 1 reply; 5+ messages in thread
From: Doug Telford @ 2021-12-27  1:39 UTC (permalink / raw)


I am using gnatmake 9.3.0 and gprbuild community edition 2021.  The Ada executable from gnatmake is about 50% smaller than that of gprbuild and runs much slower than the gprbuild  version.  Is gnatmake deprecated, obsolete, or not maintained?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Big differences between gnatmake and gprbuild
  2021-12-27  1:39 Big differences between gnatmake and gprbuild Doug Telford
@ 2021-12-27  6:19 ` Gautier write-only address
  2021-12-27 15:14   ` Doug Telford
  2021-12-27 15:51   ` Doug Telford
  0 siblings, 2 replies; 5+ messages in thread
From: Gautier write-only address @ 2021-12-27  6:19 UTC (permalink / raw)


> I am using gnatmake 9.3.0 and gprbuild community edition 2021. The Ada executable from gnatmake is about 50% smaller than that of gprbuild and runs much slower than the gprbuild version. Is gnatmake deprecated, obsolete, or not maintained?

It looks like the compiler, linker & binder options that, in your case, gnatmake sends to GNAT, are different than those gprbuild sends, especially optimization options.
What are the command line options to gnatmake you are using ? And to gprbuild ?
_________________________ 
Gautier's Ada programming 
http://gautiersblog.blogspot.com/search/label/Ada 
NB: follow the above link for a valid e-mail address 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Big differences between gnatmake and gprbuild
  2021-12-27  6:19 ` Gautier write-only address
@ 2021-12-27 15:14   ` Doug Telford
  2021-12-27 15:51   ` Doug Telford
  1 sibling, 0 replies; 5+ messages in thread
From: Doug Telford @ 2021-12-27 15:14 UTC (permalink / raw)


On Sunday, December 26, 2021 at 11:19:28 PM UTC-7, gautier...@hotmail.com wrote:
> > I am using gnatmake 9.3.0 and gprbuild community edition 2021. The Ada executable from gnatmake is about 50% smaller than that of gprbuild and runs much slower than the gprbuild version. Is gnatmake deprecated, obsolete, or not maintained?
> It looks like the compiler, linker & binder options that, in your case, gnatmake sends to GNAT, are different than those gprbuild sends, especially optimization options. 
> What are the command line options to gnatmake you are using ? And to gprbuild ? 
> _________________________ 
> Gautier's Ada programming 
> http://gautiersblog.blogspot.com/search/label/Ada 
> NB: follow the above link for a valid e-mail address

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Big differences between gnatmake and gprbuild
  2021-12-27  6:19 ` Gautier write-only address
  2021-12-27 15:14   ` Doug Telford
@ 2021-12-27 15:51   ` Doug Telford
  2021-12-27 17:02     ` Simon Wright
  1 sibling, 1 reply; 5+ messages in thread
From: Doug Telford @ 2021-12-27 15:51 UTC (permalink / raw)


On Sunday, December 26, 2021 at 11:19:28 PM UTC-7, gautier...@hotmail.com wrote:
> > I am using gnatmake 9.3.0 and gprbuild community edition 2021. The Ada executable from gnatmake is about 50% smaller than that of gprbuild and runs much slower than the gprbuild version. Is gnatmake deprecated, obsolete, or not maintained?
> It looks like the compiler, linker & binder options that, in your case, gnatmake sends to GNAT, are different than those gprbuild sends, especially optimization options. 
> What are the command line options to gnatmake you are using ? And to gprbuild ? 
> _________________________ 
> Gautier's Ada programming 
> http://gautiersblog.blogspot.com/search/label/Ada 
> NB: follow the above link for a valid e-mail address
I think part of the problem is the version of gnatmake.  Version 9.3.0 is vintage 2019.  I am not sure how I got this version.  When I use the gnat community 2021 version of gnatmake,  then everything was ok.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Big differences between gnatmake and gprbuild
  2021-12-27 15:51   ` Doug Telford
@ 2021-12-27 17:02     ` Simon Wright
  0 siblings, 0 replies; 5+ messages in thread
From: Simon Wright @ 2021-12-27 17:02 UTC (permalink / raw)


Doug Telford <doug719125@gmail.com> writes:

> I think part of the problem is the version of gnatmake.  Version 9.3.0
> is vintage 2019.  I am not sure how I got this version.  When I use
> the gnat community 2021 version of gnatmake, then everything was ok.

If you give current gnatmake a project file, it will delegate to
gprbuild if it's present.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-27 17:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-27  1:39 Big differences between gnatmake and gprbuild Doug Telford
2021-12-27  6:19 ` Gautier write-only address
2021-12-27 15:14   ` Doug Telford
2021-12-27 15:51   ` Doug Telford
2021-12-27 17:02     ` Simon Wright

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