www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/08/20/18:30:21

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-Id: <199908202229.RAA28257@mercury.xraylith.wisc.edu>
To: Chris Faylor <cgf AT cygnus DOT com>
cc: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: libcygwin.a as a symbolic link to lib{c,m}.a -- need insight
In-reply-to: Your message of "Fri, 20 Aug 1999 13:32:04 EDT."
<19990820133204 DOT A5087 AT cygnus DOT com>
Date: Fri, 20 Aug 1999 17:29:16 -0500
From: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>

Chris Faylor <cgf AT cygnus DOT com> writes:
> I'm close to getting libcygwin.a linked to libc.a but I was wondering if
> it should also be linked to libm.a.  

Absolutely. Anything else is a potential source of future confusion. 
The only reason it would make sense to link it (as opposed to leaving 
it out completely) is because various software package expect -lm to 
work. That's the reason I distribute a dummy libm.a, but can't link
due to lack of native symlinks.

> Does anyone know if libm.a provides
> any functions that are not already exported by cygwin1.dll?

Here're the symbols in libm.a that are not explicitly exported by Cygwin
DLL. The __ieee754_* symbols should NOT be exported (but do become part
of the DLL), and the last 4 I had missed last time I submitted the change 
to add the gamma functions. Patch appended.

  __ieee754_acos
  __ieee754_acosh
  __ieee754_asin
  __ieee754_atan2
  __ieee754_atanh
  __ieee754_cosh
  __ieee754_exp
  __ieee754_fmod
  __ieee754_hypot
  __ieee754_j0
  __ieee754_y0
  __ieee754_j1
  __ieee754_y1
  __ieee754_jn
  __ieee754_yn
  __ieee754_log
  __ieee754_log10
  __ieee754_pow
  __ieee754_rem_pio2
  __ieee754_remainder
  __ieee754_scalb
  __ieee754_sinh
  __ieee754_sqrt
  __ieee754_acosf
  __ieee754_acoshf
  __ieee754_asinf
  __ieee754_atan2f
  __ieee754_atanhf
  __ieee754_coshf
  __ieee754_expf
  __ieee754_fmodf
  __ieee754_hypotf
  __ieee754_j0f
  __ieee754_y0f
  __ieee754_j1f
  __ieee754_y1f
  __ieee754_jnf
  __ieee754_ynf
  __ieee754_logf
  __ieee754_log10f
  __ieee754_powf
  __ieee754_rem_pio2f
  __ieee754_remainderf
  __ieee754_scalbf
  __ieee754_sinhf
  __ieee754_sqrtf
  __ieee754_gamma_r
  __ieee754_lgamma_r
  __ieee754_gammaf_r
  __ieee754_lgammaf_r
  __kernel_cos
  __kernel_rem_pio2
  __kernel_sin
  __kernel_standard
  __kernel_tan
  __kernel_cosf
  __kernel_rem_pio2f
  __kernel_sinf
  __kernel_tanf
  __fdlib_version
  gamma_r
  lgamma_r
  gammaf_r
  lgammaf_r

Fri Aug 20 17:23:38 1999  Mumit Khan  <khan AT xraylith DOT wisc DOT edu>

	* cygwin.din (gamma_r, gammaf_r, lgamma_r, lgammaf_r): Export.

Index: cygwin.din
===================================================================
RCS file: /homes/khan/src/CVSROOT/cygwin-dev/winsup/cygwin.din,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 cygwin.din
--- cygwin.din	1999/07/15 21:02:34	1.1.1.1
+++ cygwin.din	1999/08/20 22:23:08
@@ -267,8 +267,12 @@ fwrite
 _fwrite = fwrite
 gamma
 _gamma = gamma
+gamma_r
+_gamma_r = gamma_r
 gammaf
 _gammaf = gammaf
+gammaf_r
+_gammaf_r = gammaf_r
 gcvt
 _gcvt = gcvt
 gcvtf
@@ -397,8 +401,12 @@ ldiv
 _ldiv = ldiv
 lgamma
 _lgamma = lgamma
+lgamma_r
+_lgamma_r = lgamma_r
 lgammaf
 _lgammaf = lgammaf
+lgammaf_r
+_lgammaf_r = lgammaf_r
 link
 _link = link
 localeconv

Regards,
Mumit

- Raw text -


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