Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <4305FF5B.2421ED2A@dessent.net> Date: Fri, 19 Aug 2005 08:48:43 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Trying to build crm114 (20050721) under CygWin 1.5.18-1 References: <4305F226.CD82A7FD@dessent.net> <4305F8FD.3080104@familiehaase.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin@cygwin.com Igor Pechtchanski wrote: > Umm, Gerrit, I don't think the underlined part is true anymore: > > $ cd /usr/lib && ls -li libm.a libcygwin.a > 1407374883609665 -r-xr-xr-x+ 1 igor Users 956656 Jul 2 20:30 libcygwin.a* > 1407374883609668 -r-xr-xr-x+ 1 igor Users 92616 Jul 2 20:30 libm.a* > $ uname -a > CYGWIN_NT-5.1 pechtcha 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cygwin > > -lcygwin *is* added automatically, but not -lm. libm is a subcomponent of the final cygwin1.dll, which merges several such components. There's also libpthread, libc, libserver, libutil, the malloc code, the startup code (etc.) all of which are combined to make cygwin1.dll. 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. 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/