Date: Thu, 30 Oct 1997 11:54:57 +0200 (IST) From: Eli Zaretskii To: myshin cc: djgpp AT delorie DOT com Subject: Re: Compiler is Killed by C source code ? In-Reply-To: <33e1aa67.6007629@news> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 30 Oct 1997, myshin wrote: > But , > In main(){ > unsigned long TBM0[ 64][ 4], TBM1[ 64][ 4]; > unsigned long (*cTBM)[ 4], (*nTBM)[ 4]; > this source is no good. > > These is only different array size ! > If I try to compile second source, my computer is down ! I'm guessing that you define too much automatic variables (those which are local to your functions), and they overflow the default 256KB stack that DJGPP programs get. Please download the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP) and read section 6.4 there, for possible solutions to this. However, the above is based on a guess, and may be wrong. It's usually a bad idea to post parts of your code in such cases. Since you have no clue about what causes the crashes, chances are you will omit the important parts and leave the unimportant ones. For best results, please post the smallest program that, when compiled, will exhibit the problem.