comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com
Subject: Re: Executable File Size Differences
Date: 1996/09/29
Date: 1996-09-29T00:00:00+00:00	[thread overview]
Message-ID: <52l34a$epm@news2.delphi.com> (raw)


>The problem is an old one: the lack of "smart linkers" which
>would include only the necessary code from an Ada package, and
  The RR compilers I've been using on PCs for years have done this
(/t option) and I think ObjectAda will do it.  When I used Borland
C++ 3.0 I never noticed the linker capable of this - has that changed?
  I just tried a very simple Ada program with an ancient Janus 2.2.2
compiler targeted to DOS .com files:
procedure hello is
  world:exception;
begin
  raise world;
end hello;
produces hello.com of 5328 bytes and when run gives:
** Unhandled User Exception - HELLO.WORLD
On Line Number 4 In HELLO
I realize that's cheating - but adding Text_IO unsurprisingly added
to the executable size.  And real programs under Windows, as Robert
Dewar suggests, results in executables, both C and Ada, noticeably
larger than 5K. #.#




             reply	other threads:[~1996-09-29  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-29  0:00 tmoran [this message]
1996-09-29  0:00 ` Executable File Size Differences Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1996-09-28  0:00 Robert Dewar
1996-09-28  0:00 ` Tony Picarello
1996-09-25  0:00 Robert P. Kuzmicki
1996-09-25  0:00 ` Georgi Savov
1996-09-28  0:00   ` Stanley Allen
1996-09-28  0:00     ` Robert Dewar
1996-09-30  0:00     ` Richard A. O'Keefe
1996-10-01  0:00       ` Ken Cowan
1996-10-03  0:00         ` Stanley Allen
1996-10-02  0:00   ` Robert I. Eachus
1996-10-06  0:00     ` John Howard
1996-09-28  0:00 ` Simon FitzMaurice
1996-10-02  0:00 ` Jon S Anthony
1996-10-11  0:00 ` Robert I. Eachus
replies disabled

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