comp.lang.ada
 help / color / mirror / Atom feed
From: dsmith@clark.net (Doug Smith)
Subject: Re: GNAT Codesize
Date: 1996/06/21
Date: 1996-06-21T00:00:00+00:00	[thread overview]
Message-ID: <dsmith-2106961226050001@dsmith.clark.net> (raw)
In-Reply-To: 31c8fdd4.5a455349@zesi.ruhr.de


In article <31c8fdd4.5a455349@zesi.ruhr.de>, haug@zesi.ruhr.de (Haug
Buerger) wrote:

> I have a little Ada program to convert mail and news to display
> propperly on an PC with OS/2, nothing but some character
> conversions. The main programm is 146 lines long, the
> corresponding object file is from 63849 to 113000 bytes big
> depending on the optimizeations (-O0..-O3). The object contains
> about 2kbyte of text information. That's about 400 bytes per
> line, best case.
> 
> Assuming that all the runtime check code is in the runtime
> libraries, what is gnat doing? It seems to me that gnat produces
> very inefficiente code.
> 
> The whole program is never smaller than 400kbyte. Is it possible
> to use a dynamic link library for the runtime library? Is there
> any chance to reduce the code size?
> 
> Haug

I use the Unix "strip" utility which reduces the code size
from 20-40%. If there is a similar utility on OS/2, you could
try it.

Doug.




  parent reply	other threads:[~1996-06-21  0:00 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-20  0:00 GNAT Codesize Haug Buerger
1996-06-20  0:00 ` James E. Hopper
1996-06-21  0:00 ` Ralph Paul
1996-06-21  0:00 ` Robert Dewar
1996-06-24  0:00   ` John McCabe
1996-06-24  0:00     ` John Howard
1996-06-25  0:00       ` Robert Dewar
1996-06-25  0:00       ` David J. Fiander
1996-06-26  0:00     ` Robert Dewar
1996-06-28  0:00       ` John McCabe
1996-06-28  0:00         ` Fergus Henderson
1996-06-29  0:00           ` John McCabe
1996-07-01  0:00             ` Robert Dewar
1996-07-05  0:00               ` John McCabe
1996-07-05  0:00             ` JP Thornley
1996-06-30  0:00         ` Robert Dewar
1996-07-02  0:00           ` John McCabe
1996-07-03  0:00             ` Robert Dewar
1996-06-28  0:00       ` Fergus Henderson
1996-07-01  0:00         ` Michael Feldman
1996-07-03  0:00           ` John McCabe
1996-07-02  0:00         ` John McCabe
1996-07-03  0:00           ` Robert Dewar
1996-07-06  0:00             ` John McCabe
1996-07-06  0:00               ` Michael Feldman
1996-07-06  0:00               ` Robert Dewar
1996-07-08  0:00             ` Gavin Smyth
1996-07-03  0:00   ` Question about the need for requeue as described in Rationale James A. Squire
1996-07-05  0:00     ` Bo I. Sanden
1996-07-05  0:00       ` progers
1996-07-06  0:00     ` Robert A Duff
1996-07-04  0:00   ` Samuel Tardieu
1996-07-04  0:00     ` Robert Dewar
1996-07-08  0:00   ` James A. Squire
1996-07-08  0:00     ` Robert A Duff
1996-07-09  0:00     ` Bo I. Sanden
1996-07-08  0:00   ` James A. Squire
1996-07-08  0:00   ` James A. Squire
1996-07-09  0:00     ` progers
1996-07-10  0:00     ` Robert A Duff
1996-07-10  0:00       ` progers
1996-07-09  0:00   ` Jon S Anthony
1996-06-21  0:00 ` Doug Smith [this message]
1996-07-08  0:00 ` James A. Squire
replies disabled

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