delorie.com/archives/browse.cgi | search |
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: | <4305FE68.8010902@familiehaase.de> |
Date: | Fri, 19 Aug 2005 17:44:40 +0200 |
From: | "Gerrit P. Haase" <gerrit AT familiehaase DOT de> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728 |
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> |
In-Reply-To: | <Pine.GSO.4.61.0508191127280.16057@slinky.cs.nyu.edu> |
X-IsSubscribed: | yes |
Igor Pechtchanski wrote: > On Fri, 19 Aug 2005, Gerrit P. Haase wrote: > > >>-lcygwin (== -lm) is automatically added at the end when linking. > > ^^^^^^ > 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. > Igor I always remove -lm from every link line. IIRC, all which is included in libm.a is also in libcygwin.a? E.g. take this: $ nm /usr/lib/libm.a | grep _log1pf 00000000 I __imp__log1pf 00000000 T _log1pf $ nm /usr/lib/libcygwin.a | grep _log1pf 00000000 I __imp___log1pf 00000000 T __log1pf 00000000 I __imp__log1pf 00000000 T _log1pf So why should I include libm? Gerrit -- =^..^= -- 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 |