X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:reply-to:to:subject:mime-version:date
	:reply-to:message-id:content-type:content-transfer-encoding; q=
	dns; s=default; b=HmIkNJty+8nLvZ3WYiYbemZ4ZBI9OhVK5BG1deOWcMgMK9
	YKgz14k1VQXvJvumIkIIjiESobHTzmYwmRJzdXnZSjVlTbDmIlI9xYKheMyEVfuy
	3O1bRyABBceMMJTJ5vKd5gXXP6lJ1q4kkt9frhMtZA1hHmm4GCbLfV343RJ8Y=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:reply-to:to:subject:mime-version:date
	:reply-to:message-id:content-type:content-transfer-encoding; s=
	default; bh=DkZys4VAY/BLp2JdydZmPKgUj7o=; b=BUvOXpPNB74XjWem35EI
	dbTDe9KYxuG2za6eb4e3ipDrS76h1Ji1l18OTIT8HvMlSOXftCf2amAhC7xOqkMp
	P65izNs78kiz8yT7g9FqifjqohTzIlzZjL72NonwFhuAv2o8aZN8OMvVFQlFkU/+
	WI7JxhDx8Is5X+44nBOq1eo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_05,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=yselkowitzcygwincom, U*yselkowitz, yselkowitz@cygwin.com, sk:yselkow
X-HELO: f392.i.mail.ru
From: "sorryforaskingthis.bk.ru via cygwin" <cygwin@cygwin.com>
Reply-To: sorryforaskingthis@bk.ru
To: =?UTF-8?B?Y3lnd2lu?= <cygwin@cygwin.com>
Subject: =?UTF-8?B?UmU6IGk2ODYgbGQgY291bGRuJ3QgcmVzb2x2ZSB3Z2xDcmVhdGVDb250ZXh0?= =?UTF-8?B?IGZyb20gbGlib3BlbmdsMzIuYSBvbiB4ODZfNjQgc3lzdGVt?=
MIME-Version: 1.0
Date: Fri, 03 Mar 2017 03:14:49 +0300
Reply-To: sorryforaskingthis@bk.ru
Message-ID: <1488500089.994801791@f392.i.mail.ru>
Content-Type: text/plain; charset=utf-8
Authentication-Results: f392.i.mail.ru; auth=pass smtp.auth=sorryforaskingthis@bk.ru smtp.mailfrom=sorryforaskingthis@bk.ru
X-7FA49CB5: 0D63561A33F958A5C5DF1613005A9FB2B8D17D79946C62CF3DD442DF835D8F8E9F18ECD7E95F35E929AFE063DF4C541C2B5ACEFF50A883ED3B97E0831B9DB1B50BF2EBBBDD9D6B0F2AF914666EE41260
X-Mailru-Sender: A9891AF2FA2CE65CADBFEC20FB94B7F107B0445CF38E982072C590769251C316A189958884EC452A954B21700D42948E050E2F3EDAD684A5ED1C2B23945818D91E14B7F6B07393498CB7D1E64D4BCF9E61363873C9897A76EAB4BC95F72C04283CDA0F3B3F5B9367
X-Spam: undefined
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v230F4Bs011287

>On 2017-03-02 16:54, Yaakov Selkowitz <yselkowitz@cygwin.com> wrote:
>
>This looks like a snippet of an autoconf AC_CHECK_LIB (or
>AC_CHECK_FUNCTION) test. Such tests don't work with 32-bit Win32 APIs
>-- on either Cygwin or MinGW -- because they don't take stdcall into
>account. You'll need to modify the test to work around that.
>
>Also, if you're using Cygwin, do you *really* want to be using Win32
>OpenGL and not X11?
>
Yes, you're right. It's autoconf test and it perfectly passed at 64-bit MinGW and 64-bit Cygwin, but not on 32-bit Cygwin.
And I don't understand why you're say that it is related to stdcall, while wglCreateContext exposed directly without any @0 @4 etc. With --enable-stdcall-fixup ld says: undefined reference to `wglCreateContext@0'

Yes, I need to use Win32.
I want to port application that heavily POSIX-dependent, but also want to save performance as much as possible.

I think if w32api-runtime package is provided it supposed to work.
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


