cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/07/20:38:35

Message-ID: <37ACCB8F.30CF0863@unb.ca>
Date: Sat, 07 Aug 1999 20:13:03 -0400
From: Endlisnis <s257m AT unb DOT ca>
X-Mailer: Mozilla 4.61 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
Subject: Re: A bug
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990805101253 DOT 14908H-100000 AT is> <37A9CB8A DOT EEC86F96 AT americasm01 DOT nt DOT com> <37AC70EA DOT 1CEA579E AT cartsys DOT com>
Reply-To: djgpp AT delorie DOT com

Nate Eldredge wrote:

> >     I was probably wrong about that specific issue (the 80k), but in the
> > past, I've had problems with very large global static arrays (several Megs).
> If you can still reproduce them, perhaps you could report it so we can
> see if a real problem underlies it.

    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:

------------------
#include <stdio.h>
int a[10000000];

int main(int argc, char *argv[])
{
 printf("size = %d", sizeof(a));
 return 0;
}
---------------------



--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT HotMail DOT com
          ICQ: 32959047


- Raw text -


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