Mail Archives: djgpp/1995/10/17/13:09:45
In article <DGHnKF DOT 90p AT jade DOT mv DOT net> Vladimir Pshenkin <PSHENKIN AT main DOT econ DOT msu DOT su> writes:
> Please help!
> I use a lot of numerical methodth in my project - but now
> I have a seriouse problem - how can I handle SIGFPE under GCC ?
> Any solutions ?
> signal(...) doesn't works. why ?
1. In version 2+, signal () should work.
2. In version 1.xx, DPMI mode, you need to have a DPMI host that can
emulate the FPU (Windows' ???)
3. In version 1.xx, non-DPMI mode, just write a handler for the
apropriate exception, and use _go32_dpmi_... to install it. Or you can
just use a emulator (emu387 or something).
Long.
--
==============================================================
Long Doan ld AT netrix DOT com
Netrix Corporation ldoan1 AT osf1 DOT gmu DOT edu
13595 Dulles Technology Drive
Herndon Va 22071
==============================================================
- Raw text -