www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/17/13:56:31

Xref: news2.mv.net comp.os.msdos.djgpp:1195
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Minimum requirements for running a .exe created by DJGPP V2
Date: Tue, 13 Feb 1996 20:16:56 CST
Organization: Rice University, Houston, Texas
Lines: 5
Message-ID: <31214618.sandmann@clio.rice.edu>
References: <DMpBI5 DOT 4GJ AT granite DOT mv DOT net>
Reply-To: sandmann AT clio DOT rice DOT edu
NNTP-Posting-Host: clio.rice.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> if it uses floating point, you should bring the file emu387.dxe 

Alternatively, you can link -lemu at link time, which will embed the emulator
into the executable for a smaller overall distribution size, and only a single
file to distribute.
enlighten me?

See your i86 processor manual, for a page fault that means the page fault
was caused by an attempted write while in user mode.

> Windoze claims something really catastrophic has happened (recommends reboot).

This is because the exception handler code has been destroyed.  Did you
try to run the 1.12m4 version under Windows?  I'll bet it dies there too.
I expect you need to use stubedit on your susan.exe and create a large stack.
While 10000 bytes in the previous message isn't enough to cause a stack
overflow, if you have several of these type of automatic arrays nested, it
can cause problems.

If you run the program under the debugger, the exception handler is imbedded
in the debugger instead of the image itself, which may help you to verify
the stack overrun or find the problem.

- Raw text -


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