comp.lang.ada
 help / color / mirror / Atom feed
From: ct_oreg@vega.concordia.ca (Chris O'Regan)
Subject: Re: Ada binaries pretty large
Date: 1995/04/21
Date: 1995-04-21T00:00:00+00:00	[thread overview]
Message-ID: <3n6v40$66i@newsflash.concordia.ca> (raw)
In-Reply-To: 3n51ng$q67@mother.usf.edu

In article <3n51ng$q67@mother.usf.edu>

CG := D. Christian Griffin <dgriffin@eng.usf.edu>

CG>Why are ada binaries (Gnat 2.0.4 on SunOS), at least 230K no matter what 
CG>the size of the code is (a couple of lines of code).  Is there debugging 
CG>code being added to this?  How can I get around this?

   Have you tried compiling and linking with the "-O2" option?  Have you
stripped the binary?  C programs tend to compile into large binaries as
well.

   (Side note: Just stripped a Linux Gnat binary.  Original size: 200Kb;
stripped size: 50Kb.)

-- 
     ____________________________________________________________
              Chris O'Regan <ct_orega@ECE.Concordia.CA>
     Computer Engineering, Concordia University, Montreal, Canada
           http://www.ECE.Concordia.CA/~ct_orega/addr.html




  parent reply	other threads:[~1995-04-21  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-20  0:00 Ada binaries pretty large D. Christian Griffin
1995-04-20  0:00 ` Robert Dewar
1995-04-20  0:00 ` Robert Dewar
1995-04-21  0:00 ` Chris O'Regan [this message]
1995-04-22  0:00 ` Bob Kitzberger
replies disabled

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