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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=I0JyZwXgpN/oTlvr f2neNucB69CysN4FTWIlg8BgF9Qt2Seyg1CnFk1umiMzgnHaXimyRzW52Gr/Ynh0 Q26uMYx370HM3O/NiKi0drh0TgTRph9B+/Hoy0j9aTR2Y1LHF6O96exgoj2bz1FD Tl/qRJ8y/SqOTXGGeCYtQEs6uZI= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=l+YSiwWNJqOUodP24P26xQ UJdME=; b=Wc8/oI9xJV1WUMmif3J9EM8VCIkYiyYUeDvBfkIDy2zQxsK/yNqdpg YbEzwaknIRemhTOxdRxUddvKBx0khWuGI1TSo/94OodFrn7aOIduCnkn34srZrkE BZkCVehCcz221HesCOHbCAV7k0puqI3DJXYVTSUAjLN6HmG/NBfyA= 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: =?ISO-8859-1?Q?No, score=0.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=H*Ad:D*t-online.de, Whobrey, whobrey, doesn=e2?= X-HELO: mailout12.t-online.de Subject: Re: Advice on setting Cygwin build parameters for OpenSC. To: cygwin AT cygwin DOT com References: From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= Message-ID: Date: Sun, 2 Sep 2018 11:07:00 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Am 02.09.2018 um 03:22 schrieb Darren Whobrey: > 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. That line is flat-out wrong. Delete it. You're already in a --host=*cygwin* specific section of your configure.ac script, so there's no further precautions to be taken. While at it, you may just as well delete the entire "with_cygwin_native" branch (lines 100..105), because that has been un-applicable for years. Building for native windows (i.e. MinGW) is has long since stopped to be done by a -mno-cygwin flag. Instead you would pass the configure script a --host={something with mingw in it} flag to initiate a proper cross-build, and that will bring you into the existing --host=*mingw* case abvoe. > 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? Checking for GCC is almost certainly a red herring here. > should be to not include the offending line, but then that would > break WND builds. Not really, because whatever you mean by "WND builds", they won't be ending up in that cygwin case. -- 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