ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/15/02:58:58

Date: Mon, 15 Jul 1996 11:48:22 +0000 ( )
From: Gurunandan R Bhat <grbhat AT unigoa DOT ernet DOT in>
To: Francois Charton <deef AT pobox DOT oleane DOT com>
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: <Pine.LNX.3.91.960715114533.1203B-100000@aditya.unigoa.ernet.in>
Mime-Version: 1.0


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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019