This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: export signgam


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]