delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/09/01/21:22:48

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:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=LC2
bMwbqbmmIvf6gj27IfNcajFoXP2ze4Vcbm7pez9v1cC//wrGCtRswV1k1voVFALL
AZOu2XOPKBOyRR2o5QT4eCZBLfYO0qO3wJs5gC977CDihCtm0P4zCM1ujUxv6RQh
PztbnbXSxfMlBsw2utMLXUD9ZgQEHAJRUqTIWv5E=
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:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=UaC/RYQyV
QFAOP2RIRHQQBffXxs=; b=i2n4RhU7lLG/820zXizTUtZ2h8QR6gJLWyEEx65Tg
VD3DjdhyRfIVpX/X5skxUj26TdCh2U1aGW7WI5A7OJdYn2eV8TX4y4p0ujeUbKz8
mPu0fBYbfMLXLzxJhtsLed7oaZesSEOpap7TU8Du11rrkdXHgft0+/lZaswuw4k/
1o=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=BAYES_00,BODY_8BITS,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=tweak, H*r:Sun, resulted, Darren
X-HELO: NAM01-SN1-obe.outbound.protection.outlook.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vup6CwTlI2bFSy+aMkXOrNsoOwfXN5ig5S/P+WZg480=; b=TuZlH0C2HpBM2ahBtCIOiJOhQW6ANT0wcbOAHiM8brfSHc3gzf9qi2qJtdHZxwjNylO6jlyPh0BB9XGndptZ80D/Fayo2Bb6OSwbZQ1lDmp4nvmhyP5EpfZ+HxD9DAxcL7HkZ0qyOVcLEwNfOG8J66ijWWPxr1OdnDsf2XYCh6PBVddOUDF503iE7h69SubyHBYWZUyYGjBtznzup83iBtEGWzsr5zIN2VZaiehHE4qLLfBf6TpEED20dfQwzikjMt1+mddrdqLxZzlRxo9nzABeXRZED8iRZfpuhQxw0LJCOwatGTAqsNYnToKjZzFXTU68L5a6DG7lJ7ulntZ0EA==
From: Darren Whobrey <dwhobrey AT outlook DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Advice on setting Cygwin build parameters for OpenSC.
Date: Sun, 2 Sep 2018 01:22:31 +0000
Message-ID: <BY1PR14MB015068FFCE2A1631A3DC7A32C40D0@BY1PR14MB0150.namprd14.prod.outlook.com>
received-spf: None (protection.outlook.com: outlook.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=dwhobrey AT outlook DOT com;
MIME-Version: 1.0
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id w821Mksl027872

Hi,
I’ve been talking to Doug Engert, one of the maintainers for the OpenSC project, and we could do with some advice on how best to set the build parameters for building OpenSC via Cygwin.

The good news is that with a small tweak to the current stock configure.ac, OpenSC builds nicely and works well on Cygwin – which is great because it enables a heap of SmartCard and Yubikey applications to work too, like ssh.

The tweak required to get OpenSC to work with the standard Cygwin utils, like ssh-agent, is to comment out a line in the configure.ac script that previously was causing it to force a WND build, which resulted in struct packing of 1 – and that doesn’t work with the ssh utils distributed with Cygwin. For details see the end of thread here: https://github.com/OpenSC/OpenSC/issues/607.

The question is, what is the most sensible way to update the configure.ac and still support other Cygwin users that may be using mingw or other toolchains rather than gcc? It seems that the default should be to not include the offending line, but then that would break WND builds. So maybe the configure.ac script should have another case block for WND builds? This aspect is stretching my knowledge and understanding of the implications, so would appreciate some advice 😊

Regards,
Darren.

Ps: if the Cygwin team could add OpenSC to it’s distributed binary packages that would be great too!


--
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


- Raw text -


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