delorie.com/djgpp/bugs/show.cgi   search  
Bug 000085

When Created: 05/29/1996 14:49:29
Against DJGPP version: 2.00
By whom: md1phs@mdstud.chalmers.se
Abstract: The compiler crashes when i try to compile my appr 200K big c++-file
I can compile other programs with no problems. But with this file the compiler 
 crashes after some seconds. The program can be compiled with gcc on SUN/SPARC.
I could send you the source (7k zipfile!) if you tell me where to mail it. I
really want to use DJGPP because it makes very good code (much better than
Borland and others). Perhaps the problem is lack of RAM. I only have 24 Mb.

Thanks, Per Hakan Sundell.

Workaround added: 03/17/1997 11:31:40
By whom: l158134@proffa.cc.tut.fi
Have you tried to split the large file to several smaller ones? That should be
fairly easy...
What kind of platform are you running on? Under MSDOS or Windows, the amount of
memory should be adequate. How much does go32 report available memory?

Solution added: 04/13/1999 08:00:17
By whom: eliz@is.elta.co.il
This is most probably a problem with the C++ compiler overflowing
its runtime stack.  Th solution is to stubedit cc1plus.exe to a
larger stack, like 1MB.

DJGPP v2.02 uses a 512K stack by default, which makes this problem more rare.

Fixed in version on 04/13/1999 08:00:43
By whom: eliz@is.elta.co.il



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