export signgam

Christopher Faylor cgf@redhat.com
Thu Jul 26 12:55:00 GMT 2001

On Thu, Jul 26, 2001 at 03:48:43PM -0400, 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.

>--- cygwin.din~	Fri Apr 27 18:24:42 2001
>+++ cygwin.din	Thu Jul 26 15:40:08 2001
>@@ -668,6 +668,8 @@
> _sigfillset = sigfillset
> signal
> _signal = signal
>+_signgam = signgam
> significand
> _significand = significand
> significandf

This has been discussed many times.  I'd love to have this fixed but I
don't think that the above patch does it:

Cannot export signgam: symbol not defined
Cannot export signgam: symbol not defined
collect2: ld returned 1 exit status
make: *** [new-cygwin1.dll] Error 1
make: *** [/cygnus/build/win32/i686-pc-cygwin/winsup/cygwin/new-cygwin1.dll] Error 2

I think that we probably have to export the __signgam function, don't


More information about the Cygwin-developers mailing list