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:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=mDONLrv/LmnxfNtnGddR0R5J+Gztz 4xQFgDgfFCX6bWKgJcoOJXdeftz6R0cvIIchV8UHFisdepXfPAEp+YIG0BmOVrX8 COFU/vuSgYE7aFJpS3h6reIN4MG868fw4jf1n9ZpG8IUvZs7zR/RzYDuqwFWAU76 vtPsr7opJPndyM= 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:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=rWixbJA7NaFpYbhbbUelzqMabkI=; b=wEk KqdSB5veZGX8e0utL+VfCIukqhq8eBBm8FN0pVsMXujN+bV9RCp22ssOiLrHGJ/L Sij2mgeQGL5JAGwc509dsIf2iFOobnZXxzJ188m/thnDNYVLrCzbpOnF3kn0reDS dFVqAVgKVl4uA+l+kbaOvlA6T8Z2+pvE+peY5m6Y= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,MIME_BASE64_BLANKS,SPF_PASS autolearn=ham version=3.3.2 spammy=HTo:D*t-online.de, Brker, hansbernhard, Hans-Bernhard X-HELO: USA7109MR009.ACS-INC.COM From: "Nellis, Kenneth" To: =?utf-8?B?SGFucy1CZXJuaGFyZCBCcsO2a2Vy?= , "cygwin AT cygwin DOT com" Subject: RE: distinguishing cygwin from mingw binaries Date: Tue, 11 Jul 2017 14:20:04 +0000 Message-ID: References: In-Reply-To: authentication-results: t-online.de; dkim=none (message not signed) header.d=none;t-online.de; dmarc=none action=none header.from=conduent.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR2001MB1076;20:Ql7GqhL/d/teNCxFXMeJQgDa/i1Tvx1BMDuM+It3K88i8pZ1DCLcpu0r1IuHGPaA/niGNeXXWzph2g+TcPTDf1TP9uLqjHAJg8IJFguKedXmEs0ixYxRXvYhDxFWfP2uw5v87YcPIGFJVM64N2MGNeYDJ1lgliiUi761rUv2Cfu1jshrbWp+rmJ33omp5dMv2IU0SpSFcrzaIgcdU6ghp+yQRSuHANN3P+GY+mAKw0WNwF1RU5RAm6/BL8hIkbsK x-ms-office365-filtering-correlation-id: bf74a1e7-e832-4d24-0a73-08d4c867ed21 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BN6PR2001MB1076; x-ms-traffictypediagnostic: BN6PR2001MB1076: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(236129657087228)(247924648384137); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6041248)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR2001MB1076;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR2001MB1076; x-forefront-prvs: 0365C0E14B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39840400002)(39850400002)(39410400002)(39400400002)(39450400003)(6506006)(66066001)(305945005)(8936002)(38730400002)(74316002)(33656002)(81166006)(72206003)(99286003)(53936002)(478600001)(14454004)(2906002)(6246003)(6436002)(55016002)(8676002)(9686003)(7696004)(5660300001)(2501003)(3660700001)(3846002)(2950100002)(76176999)(7736002)(229853002)(54356999)(25786009)(2900100001)(6116002)(102836003)(50986999)(86362001)(189998001)(77096006)(3280700002)(460985005);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR2001MB1076;H:BN6PR2001MB1074.namprd20.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jul 2017 14:20:04.9693 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1aed4588-b8ce-43a8-a775-989538fd30d8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR2001MB1076 X-OriginatorOrg: conduent.com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v6BEKNN5005129 From: Hans-Bernhard Bröker > That's a bit too rough. Something like > > cygcheck ./foo.exe | grep cygwin1.dll > or ldd ./foo.exe | grep cygwin1.dll > > would be more precise. Appreciate the improved tests. Thanx! > > One of my wishes for Cygwin is for the "file" command to make the > distinction. > > Well, SHTDI. IOW: please don't feel as if anybody were keeping you from > constructing a 'file' rule that achieves that, and offering it to the > public. ;-) Of course. Just expressing a wish in case someone with more know-how than I has their interest piqued by the idea. --Ken Nellis -- 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