comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Lundin" <b.f.lundin@gmail.com>
Subject: Re: Size of linked program increasing with new version of GNAT.
Date: Thu, 25 Dec 2014 20:41:22 +0100
Date: 2014-12-25T20:41:22+01:00	[thread overview]
Message-ID: <m7hp8i$lui$1@dont-email.me> (raw)
In-Reply-To: <da7e0dea-d751-4ec9-9617-7e82e116ee02@googlegroups.com>

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

  reply	other threads:[~2014-12-25 19:41 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-25 17:44 Size of linked program increasing with new version of GNAT Tony
2014-12-25 17:57 ` Björn Lundin
2014-12-25 18:36   ` tony7
2014-12-25 19:41     ` Björn Lundin [this message]
2014-12-25 20:04       ` Shark8
2014-12-25 20:15       ` tony7
2014-12-25 21:23         ` Shark8
2014-12-25 22:48           ` Peter Chapin
2014-12-27  1:39             ` Randy Brukardt
2014-12-27  6:43               ` Simon Wright
2014-12-27 18:25                 ` Tony
2014-12-27 23:18                   ` Simon Wright
2014-12-29 23:56                   ` Randy Brukardt
2014-12-30 15:21                     ` Björn Lundin
2014-12-30 17:45                     ` Tony
2014-12-30 21:58                       ` Randy Brukardt
2014-12-30 23:51                         ` Shark8
2014-12-31 12:08                     ` Jean François Martinez
2014-12-31 12:45                       ` Dmitry A. Kazakov
2015-01-01 12:28                         ` Georg Bauhaus
2014-12-26 14:32 ` Pascal Obry
2014-12-26 15:48   ` J-P. Rosen
2014-12-26 15:55   ` Simon Clubley
2014-12-26 20:14     ` Tony
2014-12-27  1:48       ` Randy Brukardt
2014-12-27  9:35     ` Pascal Obry
2014-12-27 21:17     ` Jean François Martinez
replies disabled

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