delorie.com/archives/browse.cgi | search |
Brian Dessent wrote: > As far as I know this is only done for link efficiency, as > these sub-libs are never distributed and probably don't work as > standalone libraries. ... Apparently I don't know that much since I just checked and they are distributed. But all the imports in libm should be in libcygwin too: $ nm /usr/lib/libcygwin.a |grep fabs 00000000 T __fabs 00000000 I __imp___fabs 00000000 T __fabsf 00000000 I __imp___fabsf 00000000 I __imp__fabs 00000000 T _fabs 00000000 I __imp__fabsf 00000000 T _fabsf $ nm /usr/lib/libm.a |grep fabs 00000000 I __imp__fabs 00000000 T _fabs 00000000 I __imp__fabsf 00000000 T _fabsf So the libm, libpthread, etc are probably just there to satisfy link command lines that specify them, but all the functionality is in libcygwin.a / cygwin1.dll anyway. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |