From: Ludovic Brenta <ludovic.brenta@insalien.org>
Subject: Re: binary size (gnat+win console)
Date: Mon, 02 Aug 2004 07:16:44 +0200
Date: 2004-08-02T07:16:33+02:00 [thread overview]
Message-ID: <87smb686gz.fsf@insalien.org> (raw)
In-Reply-To: slrncgqs8p.5a7.adi@ppc201.mipool.uni-jena.de
Adrian Knoth writes:
> Andi wrote:
>
>> a simple "hello-world" binary takes 219kb after building!?
>
> Strange.
>
> ls -l Hello
> -rwxr-xr-x 1 adi users 21193 Aug 2 00:29 Hello
> strip Hello
> ls -l Hello
> -rwxr-xr-x 1 adi users 7668 Aug 2 00:29 Hello
>
> Compiler is gnat-3.15p with Ludovic's Debian-backports.
>
> But I wouldn't care too much about executable size. I guess
> having a more complex application wouldn't raise the size
> in a linear way, it's just the usual overhead (constant amount).
I would suppose that most of the difference comes from linking
statically against libgnat and/or MinGW or Cygwin on Windows. On
Debian, gnat links dynamically by default.
--
Ludovic Brenta.
next prev parent reply other threads:[~2004-08-02 5:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-01 17:45 binary size (gnat+win console) Andi
2004-08-01 21:48 ` alwa
2004-08-01 23:27 ` Andi
2004-08-01 22:39 ` Adrian Knoth
2004-08-02 5:16 ` Ludovic Brenta [this message]
2004-08-02 4:21 ` Per Sandberg
2004-08-02 13:04 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox