From: cgf@cygnus.com (Christopher G. Faylor)
Subject: Re: posix threads (pthread32) undefined references
1 Nov 1998 00:32:46 GMT
Message-ID: <71ga7e$lv3$1@cronkite.cygnus.com>
References: <36398FC8.AFD0C898@uni-duesseldorf.de> <Pine.LNX.3.95.981030222714.12344A-100000.cygnus.gnu-win32@moshpit.cygnus.com>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <Pine.LNX.3.95.981030222714.12344A-100000.cygnus.gnu-win32@moshpit.cygnus.com>,
Ben Elliston <bje@cygnus.com> wrote:
>> I'm running Cygwin32 b19.3 (no EGCS, gcc from cdk.exe) on a Win98 box.
>
>Right.  So you may or may not have TryEnterCriticalSection(), for example.
>I don't know.
>
>> so why don't adding them, Geoffrey?!
>
>I believe there was some contention over what effect this would have on
>_any_ binaries linked against this stub.  Someone tried to convince me
>that this means that the executable would fail to load on systems where
>this didn't exist, even if the program didn't call for this function.

Huh?  Ben you added the definition yourself.  It will be in B20:

Tue Sep 15 18:36:08 1998  Ben Elliston  <bje@cygnus.com>

        * sysdef/kernel32.def: Add definition for the Win32 API function
        `TryEnterCriticalSection'.

This is a non-issue.  We can't retroactively add the definitions to
previous stub libraries.  "We" (i.e., Ben) did add them to Cygnus def
files and therefore they will be in B20.
-- 
cgf@cygnus.com
http://www.cygnus.com/
