comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: Hello World 217Kb ?
Date: Tue, 23 Nov 2004 18:56:27 GMT
Date: 2004-11-23T18:56:27+00:00	[thread overview]
Message-ID: <vJLod.2072$NU3.1108@newsread1.news.pas.earthlink.net> (raw)
In-Reply-To: <UnKod.5871$hJ6.4041@trndny01>

stephane richard wrote:

> 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

This is fairly common. Text_IO is quite complex, and you are no doubt 
linking it all in, since that's the default with GNAT. On Linux the 
difference between Ada and C looks even worse, since the C often uses a 
shared library by default.

You could also look at GNAT.IO to see if it makes much of a difference.

-- 
Jeff Carter
"We use a large, vibrating egg."
Annie Hall
44




  parent reply	other threads:[~2004-11-23 18:56 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-23 17:25 Hello World 217Kb ? stephane richard
2004-11-23 17:51 ` Adrien Plisson
2004-11-23 18:14   ` stephane richard
2004-11-23 21:31     ` Adrien Plisson
2004-11-29  1:42       ` Freejack
2004-11-29  7:52         ` Alex R. Mosteo
2004-12-07 14:21           ` Warren W. Gay VE3WWG
2004-12-07 15:06             ` Adrien Plisson
2004-12-07 23:15               ` Warren W. Gay VE3WWG
2004-12-08  8:12                 ` Adrien Plisson
2004-12-08  8:49                   ` Vinzent 'Gadget' Hoefler
2004-12-09  3:37                     ` David Botton
2004-12-08 11:39                   ` Warren W. Gay VE3WWG
2004-11-23 22:38     ` Pascal Obry
2004-11-24 13:08       ` stephane richard
2004-11-27  2:23       ` Bini
2004-11-27  8:25         ` Pascal Obry
2004-11-29  0:45           ` Bini
2004-11-23 17:54 ` Martin Krischik
2004-11-23 18:01 ` Simon Clubley
2004-11-23 18:56 ` Jeffrey Carter [this message]
2004-11-23  7:01   ` Al Christians
2004-11-24 13:07     ` stephane richard
2004-11-23 20:27 ` Georg Bauhaus
2004-11-24  0:33   ` Jeffrey Carter
2004-11-24  2:27     ` Georg Bauhaus
2004-11-23 22:36 ` Pascal Obry
replies disabled

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