From: Wes Groleau <wesgroleau@despammed.com>
Subject: Re: Why is memory footprint smaller when compiled static?
Date: Tue, 11 Jun 2002 11:45:30 -0500
Date: 2002-06-11T11:45:30-05:00 [thread overview]
Message-ID: <3D06292A.D1339361@despammed.com> (raw)
In-Reply-To: wcc3cvuvdnj.fsf@shell01.TheWorld.com
> > Come now. Janus/Ada's linker has eliminated unused subprograms pretty
> >
> > I realize that a lot of systems don't do this, and I've never understood
> > why: it isn't particularly hard nor very expensive, and it can save a
>
> I agree -- linkers ought to do this.
>
> But it's harder to do a good job with indirect calls (dispatching),
Or a package with'ed just so a task in it's body will be activated,
or to force implementation-specific code to be included in the RTS.
Plus, in Ada 95, intelligent use of child units can eliminate
most unused code from being linked.
--
Wes Groleau
http://freepages.rootsweb.com/~wgroleau
next prev parent reply other threads:[~2002-06-11 16:45 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
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 [this message]
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