www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/29/04:52:29

Date: Thu, 29 Mar 2001 11:48:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Greg Donnells <gad AT donnesys DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Hunting Sigsev Errors
In-Reply-To: <O2sw6.2649$083.1329654@typhoon.tampabay.rr.com>
Message-ID: <Pine.SUN.3.91.1010329114626.3269Z-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 28 Mar 2001, Greg Donnells wrote:

> Would declaring the variable as a global (thus moving it's storage
> allocation to the data segment as opposed to the stack segment) also correct
> this scenario?

Yes.  See section 15.9 in the DJGPP FAQ list, it suggests a few more 
solutions, some of them better than making the variable global.

- Raw text -


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