Mail Archives: djgpp/1996/08/15/02:58:58
On Thu, 8 Aug 1996, Francois Charton wrote:
> 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
>
>
yes i had a similar problem with libm.a and john aldrich helped out with
a patched libm.a. my program runs fine now (thanks john) in fact i think,
the problem lies with the math function exp(double) in file exp.o.
gurunandan bhat
- Raw text -