Date: Mon, 15 Jul 1996 11:48:22 +0000 ( ) From: Gurunandan R Bhat To: Francois Charton Cc: djgpp AT delorie DOT com Subject: Re: Re : Compiling povray 3.0 with djgpp 2.0 In-Reply-To: <320A146C.3DB3@pobox.oleane.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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