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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1787c33169d3ed58 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.mailgate.org!news-zh.switch.ch!switch.ch!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Big executable program size Date: Mon, 19 Sep 2005 19:44:34 +0200 Organization: Cablecom Newsserver Message-ID: <2321277.lXzLZCOTxN@linux1.krischik.com> References: <1127094422.059661.244550@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: 84-73-3-68.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1127151915 2744 84.73.3.68 (19 Sep 2005 17:45:15 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Mon, 19 Sep 2005 17:45:15 +0000 (UTC) User-Agent: KNode/0.9.2 Xref: g2news1.google.com comp.lang.ada:4916 Date: 2005-09-19T19:44:34+02:00 List-Id: 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