www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/08/13:41:00

Message-ID: <320A146C.3DB3@pobox.oleane.com>
Date: Thu, 08 Aug 1996 18:23:08 +0200
From: Francois Charton <deef AT pobox DOT oleane DOT com>
Organization: CCMSA
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re : Compiling povray 3.0 with djgpp 2.0

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 -


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