www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/09/07:55:13

From: snowball3 AT bigfoot DOT com (Mark E.)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: A bug
Date: Sun, 08 Aug 1999 19:04:31 GMT
Organization: Snowball's Web
Message-ID: <37add319.1812746@news3.ibm.net>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990808140007 DOT 23423K-100000 AT is>
X-Newsreader: Forte Agent 1.5/32.452
MIME-Version: 1.0
NNTP-Posting-Host: 129.37.91.184
X-Trace: 8 Aug 1999 19:03:51 GMT, 129.37.91.184
Lines: 21
X-Notice: Items posted that violate the IBM.NET Acceptable Use Policy
X-Notice: should be reported to postmaster AT ibm DOT net
X-Complaints-To: postmaster AT ibm DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

>
>On Sat, 7 Aug 1999, Endlisnis wrote:
>
>>     Well, I can't seem to recreate it, so it was probably my
>> imagination, but I did notice that static array values are loaded
>> from the executable, which makes this program over 40Megs as an
>> executable:
>You probably compiled this as a C++ program, because C programs don't
>have this misfeature.  See section 8.12 of the FAQ for a work-around.

This was discussed on one of the egcs mailing lists not too long ago. The
fix is to add a statement to DJGPP's config file in gcc that tells gcc the
name of the bss section. The fix is now in the gcc CVS and I think Andris
will be using it in his gcc 2.95 binary.

Mark
-- 
Mark E.: snowball3 AT bigfoot DOT com
http://snowball.frogspace.net/

- Raw text -


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