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,a30a877db63b60c0 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news.illinois.net!attcg1!ip.att.net!news.binc.net!clubley From: clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) Newsgroups: comp.lang.ada Subject: Re: Hello World 217Kb ? Date: 23 Nov 2004 12:01:38 -0600 Organization: Encompasserve Message-ID: References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1101232864 10937 192.135.80.34 (23 Nov 2004 18:01:04 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Tue, 23 Nov 2004 18:01:04 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:6385 Date: 2004-11-23T12:01:38-06:00 List-Id: In article , "stephane richard" writes: > > With Ada.Text_IO; > procedure Hello is > begin > Ada.Text_IO.Put_Line ("Hello World. Welcome to GNAT"); > end; > > a whopping 217Kb (without debug information)...am I doing something wrong, > or is this the actual size of a basic exe file produced by Ada? > > Compiled with GNAT 3.15p > Which operating system ? Yes, large executables (compared to C) are created for small programs, but the percentage difference does reduce somewhat with larger programs. If it's Linux, try running strip on the executable. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: The Standard Oil Company of the 21st century