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!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!news.cambrium.nl!skynet.be!newspost001!tjb!not-for-mail Date: Tue, 23 Nov 2004 18:51:41 +0100 From: Adrien Plisson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: fr-fr, fr-be, fr, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Hello World 217Kb ? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <41a377ea$0$25071$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: 37202cc0.news.skynet.be X-Trace: 1101232106 news.skynet.be 25071 81.242.34.148:3687 X-Complaints-To: usenet-abuse@skynet.be Xref: g2news1.google.com comp.lang.ada:6384 Date: 2004-11-23T18:51:41+01:00 List-Id: stephane richard wrote: > Hello everyone, > > I never noticed this before, never bothered to :-). But today it hit me > that the following program produces a rather huge exe size. > > 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 with GNAT 3.15p under Windows i did a 219kB WITH DEBUG INFORMATIONS, only 67kB without debug informations. so, i don't know on which platform you are performing your test, but if you are under Windows, you typically misconfigured the project. -- rien