From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ad4:5b82:: with SMTP id 2mr15649199qvp.93.1640620297808; Mon, 27 Dec 2021 07:51:37 -0800 (PST) X-Received: by 2002:a25:c401:: with SMTP id u1mr16857825ybf.498.1640620297302; Mon, 27 Dec 2021 07:51:37 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 27 Dec 2021 07:51:37 -0800 (PST) In-Reply-To: <21598422-1ecc-44ad-ba28-c1a7ca4af8bbn@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=198.252.153.109; posting-account=LBKZMwoAAACyb23WkR7bXyzn4HM81md_ NNTP-Posting-Host: 198.252.153.109 References: <9536f60f-acf6-4db6-8998-e938ae2a5947n@googlegroups.com> <21598422-1ecc-44ad-ba28-c1a7ca4af8bbn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <844f2fbf-b38b-493d-b4cd-1564e740c4e0n@googlegroups.com> Subject: Re: Big differences between gnatmake and gprbuild From: Doug Telford Injection-Date: Mon, 27 Dec 2021 15:51:37 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:63278 List-Id: 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.