comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Big executable program size
Date: Mon, 19 Sep 2005 13:25:22 -0500
Date: 2005-09-19T13:25:22-05:00	[thread overview]
Message-ID: <csSdnbxHds0Pn7LeRVn-hg@comcast.com> (raw)
In-Reply-To: 00BXe.5$QR.3@dfw-service2.ext.ray.com

>> I downloaded gnat-gpl-2005-pentium-mingw32msv-bin.exe for win98
>> and compiled hello.adb
>> This hello.exe size is 1520kb. why?
>The simple answer is that your program has statically linked in a lot of
>...
>A longer answer points out that much of the excess is relatively fixed,
>and is not a significant proportion of a "real" program, where it's also
>more likely to be needed.
 Also, different Ada compilers generate substantially different exe sizes,
presumably depending on how their designers view the cost of
disk/RAM/bandwidth vs the cost of trimming out the fat.



  reply	other threads:[~2005-09-19 18:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-19  1:47 Big executable program size fracttcarf
2005-09-19  2:16 ` John B. Matthews
2005-09-19 15:42 ` Jeffrey Carter
2005-09-19 18:25   ` tmoran [this message]
2005-09-19 17:44 ` Martin Krischik
replies disabled

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