From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!mx05.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!news.internetdienste.de!noris.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Mon, 01 Jul 2013 18:49:29 +0200 From: "G.B." User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Size optimization for objects References: <9cbe0ad4-f54c-4c99-ba58-4db027ae962e@googlegroups.com> <51ce887d$0$6562$9b4e6d93@newsspool4.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <51d1b319$0$6561$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 01 Jul 2013 18:49:29 CEST NNTP-Posting-Host: ef7f04ef.newsspool4.arcor-online.net X-Trace: DXC=49Bm^@P]\D4IUKJLh>_cHTX3jM=AZm:fGM0^G X-Complaints-To: usenet-abuse@arcor.de Xref: news.eternal-september.org comp.lang.ada:16019 Date: 2013-07-01T18:49:29+02:00 List-Id: On 01.07.13 15:56, Rego, P. wrote: > On Saturday, June 29, 2013 4:10:56 AM UTC-3, Georg Bauhaus wrote: >> On 28.06.13 21:49, Rego, P. wrote: >> >>> I am trying to reduce the size of an application. Is there a tool (in GNAT) which generates a report for each package elements, of how much they contribute to the total size of the obj (and the final executable)? >> >> >> >> -gnatR might be a starting point. > > I should build the application with "-gnatR" in the compiler section of GPS project, right? What does this generate? I did not realize the difference (maybe I did not know where to find the info). Thanks. > Have a look at -gnatR in the GNAT User's Guide that is part of GNAT distributions. The switch asks the compiler to output "representation information for declared types and objects".