www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/03/17/18:03:02

From: "J.T. Conklin" <jtc AT cygnus DOT com>
Date: Fri, 17 Mar 1995 14:16:52 -0800
To: jchang AT kame DOT media DOT mit DOT edu (John Chang)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: erf, and the *rand48 functions

>>>>> "John" == John Chang <jchang AT kame DOT media DOT mit DOT edu> writes:
John> The linker complains about these functions with an "unresolved
John> externals" message.  Am I linking in the right library with -lm,
John> or are these functions simply unimplemented?  I can't seem to
John> find them in the lib*.a files I've downloaded so far.

I maintain the NetBSD math library (which is also used by FreeBSD),
and have made available a version I ported to djgpp.  It has the
erf() function that you need.  It is available via anon ftp from
	ftp.cygnus.com:~ftp/pub/jtc/djgpp/*

It would be nice if djgpp V2 adopted this or another complete math
library.  The V1 libm is woefully inadequate.

Versions of the *rand48 functions can be stolen from NetBSD as well.
Try:
	ftp.netbsd.org:~ftp/pub/NetBSD/NetBSD-current/src/lib/libc/stdlib/*48.c


	--jtc

- Raw text -


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