Mail Archives: djgpp/1996/03/23/19:34:28
Wolfgang Winkler wrote:
>
> Hi,
> I use some mathematical source-files (lp_solve) and they work fine when
> compiled by gcc 2.7.0 on sun and also when compiled by djgpp V1.x (gcc 2.6.3)
> but the program chrashes sometimes (floating point eception) when it is
> compiled by
> djgpp V2 (gcc 2.7.2). The computer is running with win95.
>
I had a similar problem with floating point exceptions with an
electrical network analysis program (spice). After reading earlier
threads concerning libm, I put a floating point reset (fpreset?)
as one of the first executable lines in the program, and the
exceptions *seem* to have stopped. Sorry for the fuzziness about
fpreset, I don't have djgpp installed here at the office.
Jim Groves jgroves AT vnet DOT ibm DOT com
- Raw text -