Date: Thu, 29 Mar 2001 11:48:18 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Greg Donnells cc: djgpp AT delorie DOT com Subject: Re: Hunting Sigsev Errors In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.