From: mauch AT uni-duisburg DOT de (Michael Mauch) Newsgroups: comp.os.msdos.djgpp Subject: Re: Linux to DOS Problem Date: Tue, 05 Aug 1997 01:20:19 +0200 Organization: Home, sweet home (via Gesamthochschule Duisburg) Lines: 23 Message-ID: <5s5o1i$eto$1@news-hrz.uni-duisburg.de> References: NNTP-Posting-Host: ppp51.uni-duisburg.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Mon, 4 Aug 1997 10:34:37 GMT, Uwe Koehler wrote: > For some reason (unknown to me) the result when querying an > array XX[i] is not the same. It all works fine under Linux, but I get > complete nonsence under DOS. Try increasing the stack size (it's 256K by default in DJGPP), e.g. unsigned _stklen = 1048576; /* need a 1MB stack */ More info about this is in section 15.9 of the DJGPP-FAQ (faq210b.zip). If this doesn't help, you could give us a bit more information, maybe post the smallest program that reveals the problem. You are compiling with -Wall and get no errors, aren't you? Regards... Michael -- Spammers: ask secretreports AT answerme DOT com for free info about how to explode your business. hoefner AT ddv DOT de wants to learn more about spam and UCE. Please help him.