Mail Archives: djgpp/1996/06/21/15:58:22
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.
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.
Any ideas out there what the problem is and how it can be solved?
Thanks,
William Newhall
- Raw text -