public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Advice on setting Cygwin build parameters for OpenSC.
@ 2018-09-02  1:22 Darren Whobrey
  2018-09-02  9:08 ` Hans-Bernhard Bröker
  2018-09-06  5:47 ` dwhobrey
  0 siblings, 2 replies; 6+ messages in thread
From: Darren Whobrey @ 2018-09-02  1:22 UTC (permalink / raw)
  To: cygwin

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-09-09  3:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-02  1:22 Advice on setting Cygwin build parameters for OpenSC Darren Whobrey
2018-09-02  9:08 ` Hans-Bernhard Bröker
2018-09-06  5:47 ` dwhobrey
2018-09-06 14:05   ` Andrey Repin
2018-09-06 16:25     ` Csaba Raduly
2018-09-09  3:41       ` cyg Simple

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).