delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/05/03:04:03

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: <Pine DOT LNX DOT 3 DOT 95 DOT 970804122528 DOT 14182A-100000 AT holz11 DOT uni-paderborn DOT de>
NNTP-Posting-Host: ppp51.uni-duisburg.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Mon, 4 Aug 1997 10:34:37 GMT, Uwe Koehler
<ukoehler AT holz11 DOT uni-paderborn DOT de> 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.

- Raw text -


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