Mail Archives: djgpp/1996/06/23/03:51:06
On Fri, 21 Jun 1996 newhallw AT escmail DOT orl DOT mmc DOT com wrote:
> I've had this problem with DJGPP for some time and was wondering if it has
> been solved...I cannot compile my code with optimization(gcc foo.c -O1)
> because it causes the computer to crash. Windows 95 comes up with its
> usual cryptic "This program has performed an illegal operation" message
> and after that the DOS prompt hangs when I try to type in a command.
It is not clear from your message whether the compiler crashes while
compiling your program, or your program crashes when it runs.
> I'm running Windows 95 on a 16 MB 133 Mhz AMD CPU(though the same problem
> occurs w/Pentium-75 and Cyrix 486-40) My code is heavily laden with
> floating point math, void pointers(used to act as pointers to functions)
> and interrupt calls. The code compiles and runs fine without optimization.
Does it crash under DOS (outside Windows)?
I suggest running the program under a debugger or with debugging print-out
so you could pinpoint the code fragment where it crashes. You can then
debug that code fragment, or post it here and ask for help.
- Raw text -