Mail Archives: djgpp/1996/08/08/13:41:00
I have been trying for a while to compile povray 3.0 using djgpp 3.0.
For some unexplained reason, floating point exceptions appeared at
runtime, which caused the program to crash.
These exceptions seem to originate in the "new non ANSI" math library
which you link when you use the -lm option :
if I link using -lc -lm, (I link libm.a), I get floating point exceptions
if I link with only -lc (the libc manual tells that it corresponds to
linking a basic ANSI math library), the exceptions disappear.
Have anyone experienced this ?
Could it be some bug in the libm.a archive ?
Regards
F. Charton
- Raw text -