comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: huge executable??
Date: 2000/05/14
Date: 2000-05-14T00:00:00+00:00	[thread overview]
Message-ID: <8fl7bt$9jr$1@nnrp1.deja.com> (raw)
In-Reply-To: 391E09C3.FA04871E@mailandnews.com

In article <391E09C3.FA04871E@mailandnews.com>,
  David Dousette <david.dousette@mailandnews.com> wrote:
> but it's still 126,000 bytes.... why?  I wrote a similar
> program in C, and it was less than 5,000 bytes... why is the
> .EXE produced by Ada so much bigger?  The executable runs
> fine, and I have plenty of hard
> drive space... I was just curious.


Most likely the C run time is in a shared library, and the
Ada runtime is statically linked. In any case you expect the
runtime overhead to be greater than in C (consider for example
just the exception handling mechanism, which is there by
default in Ada, and unavailable in C).

Comparing trivial programs is really not a significant
excercise, the important thing is what large programs look
like and there the size without debug info should be comparable.

Note that there is no advantage in running emxbind -s EXCEPT to
save disk space, the debug information is not loaded into
memory, and the disadvantage of stripping is that then you will
not be able to debug if you want to!


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-05-14  0:00 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-13  0:00 huge executable?? David Dousette
2000-05-14  0:00 ` Robert Dewar [this message]
2000-05-14  0:00 ` tmoran
2000-05-15  0:00   ` DELCOURT J�r�me
2000-05-15  0:00     ` Robert Dewar
2000-05-15  0:00       ` Lutz Donnerhacke
2000-05-15  0:00         ` Robert Dewar
2000-05-16  0:00           ` Lutz Donnerhacke
2000-05-16  0:00             ` Robert Dewar
2000-05-16  0:00               ` Lutz Donnerhacke
2000-05-16  0:00             ` tmoran
2000-05-16  0:00         ` tmoran
2000-05-16  0:00           ` Lutz Donnerhacke
2000-05-16  0:00         ` Geoff Bull
2000-05-16  0:00           ` huge executable?? - worry no more Tom Hargraves
2000-05-16  0:00             ` Robert Dewar
2000-05-19  0:00               ` Richard D Riehle
2000-05-19  0:00                 ` Ken Garlington
2000-05-16  0:00             ` Marin D. Condic
2000-05-16  0:00             ` Gautier
2000-05-16  0:00             ` Martin Dowie
2000-05-18  0:00         ` huge executable?? (null)
2000-05-16  0:00       ` Robert A Duff
2000-05-16  0:00         ` Larry Kilgallen
2000-05-16  0:00           ` Gautier
2000-05-16  0:00             ` Larry Kilgallen
2000-05-17  0:00           ` Robert A Duff
2000-05-16  0:00       ` Florian Weimer
2000-05-16  0:00         ` Robert Dewar
2000-05-16  0:00       ` Gautier
2000-05-16  0:00         ` Robert Dewar
2000-05-15  0:00     ` Gisle S�lensminde
2000-05-15  0:00   ` Roger Barnett
2000-05-15  0:00   ` David Starner
2000-05-19  0:00     ` Lutz Donnerhacke
2000-05-14  0:00 ` Gautier
2000-05-14  0:00   ` David Dousette
2000-05-14  0:00     ` Gautier
replies disabled

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