X-Recipient: archive-cygwin AT delorie DOT 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:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; q=dns; s=default; b=G3i2 9pxAaGYUA83FoMmRyu5W3U6xvwhlN2aqdACWHulKvUqzC55FgC9/qhi99ysKbrSC 0KPY2VW6mtrJnZ0dIzFcYE/crEqCD2HtqpkqAlp9qSsgw7YCPESVGVb0fTLCYSgh DHaExMRFM7lEOlWYMfWSWT+ohtd1k+0tyvkh2AE= 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:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; s=default; bh=IElj0fKa57 Neu5snW4LBQkJxvnU=; b=g33PVCGppHIXpA4bIoLwOWQOyv4TNTj4c/DiteNHhT vYPsYO/PxMTo0kXfBRRhm9THcKXGexvCsxx0H6JoRG9Y29xhJzJrBbCQN5ftqZaZ bGi6CwVjquIolE+uoR6SGDdiGXqFM6oVSBK4uIU2q45hshrWMNU46N/Rvb15DqL5 I= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=dwhobrey, OpenSC, opensc, WND X-HELO: mail-qt0-f171.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+9+he06pBYEGgnRvID8ZP3qVBS/raBxOzueHmLwOtqY=; b=LN34Dne8AwR9DUGWRRproH7YzxBdjPH2v75ihCvFH1s3CGu62lUF4sOUYhBZSVGN/5 SQln20qCrCXoTXQLmys+7drijwrplcQ1CGzQXUTbh/2v2/r46pGgVOxQKQotDI7l8Zg2 VxNYcstdEu6g67SwWpqf9Sgpuu5h9YceD8la6+zBtZdV/U9mQ3FXCsqtJumD8Buofa49 tGqQjEdfyVqVpTX7LDQpkUDi1X2NKK5KHTrLCS8vGJlAHTWFZgs6wh2swkS7L3i5gJWs kRTH3RgA1E4POABD59v+ObLquRQBuJHX8AS4QjYMkPEqJs24LI5D0Ht8kno5Qmw11r2w AN4w== MIME-Version: 1.0 In-Reply-To: <1677001344.20180906165924@yandex.ru> References: <1536212829808-0 DOT post AT n5 DOT nabble DOT com> <1677001344 DOT 20180906165924 AT yandex DOT ru> From: Csaba Raduly Date: Thu, 6 Sep 2018 18:25:49 +0200 Message-ID: Subject: Re: Advice on setting Cygwin build parameters for OpenSC. To: cygwin list Cc: dwhobrey Content-Type: text/plain; charset="UTF-8" Hi Andrey, On Thu, Sep 6, 2018 at 3:59 PM, Andrey Repin wrote: > Greetings, dwhobrey! > >> Thank you for the feedback. >> WND would be _WIN32 builds. > > If you are going for native builds, why using Cygwin in the first place? > If you still want to use Cygwin for building, you have to install > cross-compilers and properly specify target host. In OpenSC's build system (configure.ac), the Cygwin-specific parts are 10-11 years old. "cygwin native = yes" means the old-style Mingw build ( -mno-cygwin ) to create native Win32 programs/libraries, whereas "cygwin native = no" means generating Cygwin programs/libraries (with CRYPTOKI_FORCE_WIN32 being forcibly - and probably incorrectly - defined). Csaba -- You can get very substantial performance improvements by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler So if you're looking for a completely portable, 100% standards-conformat way to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK) -- 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