This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: export signgam
- To: Charles Wilson <cwilson at ece dot gatech dot edu>
- Subject: Re: export signgam
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- Date: Thu, 26 Jul 2001 16:01:31 -0400
- CC: cygwin-developers at cygwin dot com
- References: <3B60741B.80508@ece.gatech.edu>
Charles Wilson wrote:
> It seems that some packages (especially plotutils) assume that if gamma,
> lgamma, j0, and erf all exist, then signgam does too. This breaks on
> cygwin, since signgam exists but is not exported. However the
> assumption is not unreasonable, so here's a patch to export the symbol.
>
scratch that. It seemed so "obviously correct" -- but it ain't.
building new-cygwin1.dll fails with "Cannot export signgam: symbol not
defined." Oops.
signgam is a global variable; math.h #defines it as
#define signgam (*__signgam())
More research required.... :-(
--chuck