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: | <41E37543.1000102@iopan.gda.pl> |
Date: | Tue, 11 Jan 2005 07:42:11 +0100 |
From: | Jacek Piskozub <piskozub AT iopan DOT gda DOT pl> |
User-Agent: | Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.6) Gecko/20050101 |
MIME-Version: | 1.0 |
To: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: atoi() missing on Win98, perl extension breaks |
References: | <41E2E111 DOT 5040701 AT iopan DOT gda DOT pl> <41E2E529 DOT 1020603 AT familiehaase DOT de> <41E2EBF1 DOT 8050108 AT iopan DOT gda DOT pl> <41E2ED4F DOT 6030901 AT familiehaase DOT de> |
In-Reply-To: | <41E2ED4F.6030901@familiehaase.de> |
Gerritt wrote, > There it is: > $ cat ext/Win32CORE/hints/cygwin.pl > [...] > $self->{LIBS} = [q{ -L/lib/w32api -lnetapi32 -lwininet -lversion -lmpr -lodbc32 -lodbccp32 -lwinmm -lstdc++ -lole32 -loleaut32 -luuid -lcomctl32 -lgdi32 -lcomdlg32 -lntdll }]; > [...] > Now the question is which of these libs can be removed and which needs > to stay? I believe the real underlying cause is that /lib/w32api/libntdll.a contains a atoi function header (I see that in http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/lib/ntdll.def?cvsroot=src together with a zillion other WinNT/2K/XP functions). This is wrong because Win9x have only a very limited set of functions in ntdll.dll. Or, if you prefer, indiscriminate linking to ntdll.dll in all Windows versions is the actual culprit. Jacek -- 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 |