*BSD News Article 64545


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!garnet.bmr.gov.au!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!yarrina.connect.com.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.cps.udayton.edu!news.engr.udayton.edu!blackbird.afit.af.mil!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!iol!gate.ohs.ie!usenet
From: steveo@gate.ohs.ie (Steve O'Hara-Smith)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Porting scilab-2,2 - Two problems - Any ideas ??
Date: 27 Mar 1996 14:54:42 GMT
Organization: Steve O'Hara-Smith
Lines: 25
Sender: root@gate.ohs.ie (Steve O'Hara-Smith)
Message-ID: <4jbkri$1ak@gate.ohs.ie>
NNTP-Posting-Host: dialup-300.dublin.iol.ie
X-Newsreader: knews 0.9.6

	I am in the process of porting INRIA's scilab package to FreeBSD
and am having a bit of a battle with libm over it. Scilab expects to
generate Infinity and NaN for reference by computing 10000.3^10000.3
for Infinity and then to get NaN by calculating Infinity-Infinity. But
all I get out of libm is a floating point exception (ugh).

	So is there a libm replacement anywhere that is IEEE compliant in
this regard, I am loath to hack up libm.

	The other problem is with dynamic linking, Scilab uses the dld
package to link externally defined routines at runtime. It works :) almost :(
The only problem is when the external routine uses functions in a shared
library the references don't get picked up.

	So does anyone know of a dld port that handles this or where I can
find the info to hack support for this into dld.

BTW: Scilab-2.2 is very nice and when I get it working properly I'll stick
binaries and diffs up on ftp.freebsd.org as well as letting the Inria people
have them.

-------------------------------------------------------------------------------
Steve O'Hara-Smith
E-Mail: steveo@iol.ie