delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/19/12:04:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <430603EA.3164298D@dessent.net>
Date: Fri, 19 Aug 2005 09:08:10 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Trying to build crm114 (20050721) under CygWin 1.5.18-1
References: <EILH4L4-0007JS-3C AT mail2 DOT learnquick DOT com> <4305F226 DOT CD82A7FD AT dessent DOT net> <4305F8FD DOT 3080104 AT familiehaase DOT de> <Pine DOT GSO DOT 4 DOT 61 DOT 0508191127280 DOT 16057 AT slinky DOT cs DOT nyu DOT edu> <4305FF5B DOT 2421ED2A AT dessent DOT net>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

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/

- Raw text -


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