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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?B?QmrDtnJuIEx1bmRpbg==?= Newsgroups: comp.lang.ada Subject: Re: Size of linked program increasing with new version of GNAT. Date: Thu, 25 Dec 2014 20:41:22 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 25 Dec 2014 19:41:06 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="c96fa844c4210e06199c84d92fa3d8d1"; logging-data="22482"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RXsBfOCwGux1tk9QOXqV5" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 In-Reply-To: Cancel-Lock: sha1:8o5EQWH3XWL9cjXwCZSGAOkTc9Q= Xref: news.eternal-september.org comp.lang.ada:24229 Date: 2014-12-25T20:41:22+01:00 List-Id: On 2014-12-25 19:36, tony7@tele2.se wrote: >> Perhaps there are other wins? > > Yes, some programs run a bit faster (up to 25%). > >> It would help to state OS. And compiler/link flags >> And architecture (32/64) >> eventhough I guess 32 bit Win xp - or windows 2000. > > Thats right: 32 bit Win XP. > Compiled it with: gnatmake -O2 -largs -s > I think you want -O1 -O1 for small size -O2 for speed I _think_ read more in the gnat users manual. -- -- Björn