www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/22/12:12:25

Date: Thu, 22 May 1997 19:10:38 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "John M. Aldrich" <fighteer AT cs DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Reducing image size?
In-Reply-To: <33836C83.E77@cs.com>
Message-ID: <Pine.SUN.3.91.970522190854.29094X-100000@is>
MIME-Version: 1.0

On Wed, 21 May 1997, John M. Aldrich wrote:

> libraries take up quite a bit of space themselves.  Also, any static
> structures you define in your code will be included as part of the
> executable itself; using a 200K array increases your code by 200K.  This
> is a bug in the gcc compiler; to work around it, use dynamic structures
> as much as possible.

Actually, this isn't a bug, but a feature, as the FAQ explains in section 
8.14 (which also mentions a GCC switch that will disable this feature). 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019