Mail Archives: djgpp/1995/03/17/18:03:02
>>>>> "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 -