Message-ID: <37ACCB8F.30CF0863@unb.ca> Date: Sat, 07 Aug 1999 20:13:03 -0400 From: Endlisnis 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: <37A9CB8A DOT EEC86F96 AT americasm01 DOT nt DOT com> <37AC70EA DOT 1CEA579E AT cartsys DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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