From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Big executable program size
Date: Mon, 19 Sep 2005 19:44:34 +0200
Date: 2005-09-19T19:44:34+02:00 [thread overview]
Message-ID: <2321277.lXzLZCOTxN@linux1.krischik.com> (raw)
In-Reply-To: 1127094422.059661.244550@f14g2000cwb.googlegroups.com
fracttcarf@yahoo.co.kr wrote:
> I downloaded gnat-gpl-2005-pentium-mingw32msv-bin.exe for win98
> and compiled hello.adb
> This hello.exe size is 1520kb. why?
Here a few hello world programs from the Wikibook Ada Programming:
1,1M ./Windows_NT-i686-Debug/hello_world_2.exe
1,1M ./Windows_NT-i686-Debug/hello_world_3.exe
1,1M ./Windows_NT-i686-Debug/hello_world_1.exe
16K ./Linux-x86_64-Release/hello_world_1
16K ./Linux-x86_64-Release/hello_world_2
16K ./Linux-x86_64-Release/hello_world_3
36K ./Linux-i686-Debug/hello_world_2
36K ./Linux-i686-Debug/hello_world_3
36K ./Linux-i686-Debug/hello_world_1
12K ./Linux-i686-Release/hello_world_1
12K ./Linux-i686-Release/hello_world_2
12K ./Linux-i686-Release/hello_world_3
40K ./Linux-x86_64-Debug/hello_world_1
40K ./Linux-x86_64-Debug/hello_world_2
40K ./Linux-x86_64-Debug/hello_world_3
20K ./Windows_NT-i686-Release/hello_world_2.exe
20K ./Windows_NT-i686-Release/hello_world_3.exe
20K ./Windows_NT-i686-Release/hello_world_1.exe
You see there are significant variation here - the smallest is 12K the
largest 1.1M. Perhaps you might want to have a look how we set up the
project files.
Martin
Links:
http://en.wikibooks.org/wiki/Ada_Programming/Basic
https://sourceforge.net/project/showfiles.php?group_id=124904
http://cvs.sourceforge.net/viewcvs.py/wikibook-ada/demos/GNAT/wikibook_ada.gpr?view=markup
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
prev parent reply other threads:[~2005-09-19 17:44 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
2005-09-19 17:44 ` Martin Krischik [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox