comp.lang.ada
 help / color / mirror / Atom feed
From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: Why is memory footprint smaller when compiled static?
Date: Wed, 5 Jun 2002 12:36:35 +0000 (UTC)
Date: 2002-06-05T12:36:35+00:00	[thread overview]
Message-ID: <slrnafs1dn.aa1.randhol+abuse@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: mailman.1023277262.25517.comp.lang.ada@ada.eu.org

On Wed, 5 Jun 2002 13:37:36 +0200 (MET DST), Grein, Christoph wrote:
> 
> This is a qustion that appears every now and then. In my eyes, it's rather 
> pointless to argue about Hello_World size. Real programs matter, and
> there the differences are minor if programs are really comparable
> (proper setting of options).
> 
> The difference in size normally can be attributed to differences in
> the IO parts of C and Ada: Ada does many more things than C, so IO is
> not comparable, and IO is all that matters in Hello_World.

What on earth are you talking about? Why are you comparing C to Ada. I
haven't made any C code nor am I comparing C code. Neither is my program
a mere Hello_World program (ref : http://www.pvv.org/~randhol/Ada95/Glosa/).

I was only curious why the memory usage seems to drop 1 Mb after
compiling the program as static rather than shared. I don't care so much
how much memory my program takes, I just wanted to learn something about
this.

Preben Randhol



  reply	other threads:[~2002-06-05 12:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-05 11:37 Why is memory footprint smaller when compiled static? Grein, Christoph
2002-06-05 12:36 ` Preben Randhol [this message]
2002-06-05 13:42   ` Mark Johnson
2002-06-06  0:02   ` Steven Deller
2002-06-06 10:35     ` Preben Randhol
2002-06-06 14:26     ` Gautier
2002-06-06 15:08       ` Jean-Marc Bourguet
2002-06-06 15:24         ` Jean-Pierre Rosen
2002-06-06 19:35           ` Jeffrey Carter
2002-06-10 23:51     ` Randy Brukardt
2002-06-11  0:53       ` Robert A Duff
2002-06-11 16:45         ` Wes Groleau
2002-06-11 17:08           ` Preben Randhol
2002-06-11 19:12             ` Wes Groleau
2002-06-11 21:38               ` Randy Brukardt
2002-06-11 21:32         ` Randy Brukardt
  -- strict thread matches above, loose matches on Subject: below --
2002-06-04 15:14 Preben Randhol
2002-06-04 16:13 ` Mark Johnson
2002-06-04 21:01 ` Florian Weimer
2002-06-04 21:02 ` Florian Weimer
2002-06-04 21:03 ` Florian Weimer
2002-06-05 11:10   ` Preben Randhol
replies disabled

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