delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/10/19:31:05

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: <41E31C6A.8020302@familiehaase.de>
Date: Tue, 11 Jan 2005 01:23:06 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.3) Gecko/20040910
MIME-Version: 1.0
To: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
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> <20050110210930 DOT GD3757 AT trixie DOT casa DOT cgf DOT cx> <41E2F203 DOT 2040400 AT familiehaase DOT de> <20050110234135 DOT GA3704 AT efn DOT org>
In-Reply-To: <20050110234135.GA3704@efn.org>
X-IsSubscribed: yes

Yitzchak Scott-Thoennes wrote:

> On Mon, Jan 10, 2005 at 10:22:11PM +0100, Gerrit P. Haase wrote:
> 
>>Christopher Faylor wrote:
>>
>>
>>>>>All I needed to trigger it was "perl -V".
>>>>
>>>>Hmmm, atoi() is not available on Win98/ME?  Strange.
>>>
>>>
>>>Why would perl be finding atoi in ntdll.dll?  It should be coming from
>>>the cygwin DLL shouldn't it?
>>
>>Yes, as it used to be, it is used all over the place in the perl
>>sources.  I'm a little clueless now.
> 
> 
> Did you verify that it was Win32CORE at fault by trying a perl built
> without it?

$ cat ext.libs
-L/lib/w32api -lnetapi32 -lwininet -lversion -lmpr -lodbc32 -lodbccp32 
-lwinmm -lstdc++ -lole32 -loleaut32 -luuid -lcomctl32 -lgdi32 -lcomdlg32 
-lntdll

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 }];
[...]

> Perl itself doesn't use atoi, nor does Win32CORE.xs.  I'm guessing
> Win32CORE is calling a win32 routine that isn't fully supported
> on win9x.  One of:

$ grep -r atoi *
[72 lines output]


Now the question is which of these libs can be removed and which needs
to stay?  I'll try to remove all of them at first since it seems that 
many of them are only used for specific extension modules.


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/

- Raw text -


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