From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124309 invoked by alias); 10 Jul 2017 17:40:38 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 123757 invoked by uid 89); 10 Jul 2017 17:40:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=wishes, personal X-HELO: USA7109MR004.ACS-INC.COM Received: from usa7109mr004.acs-inc.com (HELO USA7109MR004.ACS-INC.COM) (13.28.230.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Jul 2017 17:40:35 +0000 Received: from usa7109ht002.na.xerox.net ([13.41.230.32]) by USA7109MR004.ACS-INC.COM with ESMTP/TLS/AES128-SHA256; 10 Jul 2017 12:33:28 -0500 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (207.46.163.88) by westgw.mail.xerox.com (13.41.230.32) with Microsoft SMTP Server (TLS) id 14.3.294.0; Mon, 10 Jul 2017 12:40:32 -0500 Received: from BN6PR2001MB1074.namprd20.prod.outlook.com (10.172.110.16) by BN6PR2001MB1076.namprd20.prod.outlook.com (10.172.110.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Mon, 10 Jul 2017 17:40:31 +0000 Received: from BN6PR2001MB1074.namprd20.prod.outlook.com ([10.172.110.16]) by BN6PR2001MB1074.namprd20.prod.outlook.com ([10.172.110.16]) with mapi id 15.01.1240.020; Mon, 10 Jul 2017 17:40:31 +0000 From: "Nellis, Kenneth" To: "cygwin@cygwin.com" Subject: distinguishing cygwin from mingw binaries Date: Mon, 10 Jul 2017 17:40:00 -0000 Message-ID: authentication-results: cygwin.com; dkim=none (message not signed) header.d=none;cygwin.com; dmarc=none action=none header.from=conduent.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR2001MB1076;20:oKfCCxTct++uEXfWR3W+GywLFYmvbm3KMX27h88C2BsGBgBZFw7uqzJV53LWllo00TaEMJgTGlbklfIUY8B8y7gd14fgH9F9mP9dZCi3OWw0OdLUesJ9NL3hRyybF7yNuRtCXPXkB8CeSxUo614dV13MFv88l4kDC8xZGTa7pChpe9rpwPeUbvFqowKtrSZmP+GJX22MNcrwYUSytJ3LP6CX6Jd5EzQ8PbL7rZ2WrtJ/6CnO4S4iqogn0gctwpWc x-ms-office365-filtering-correlation-id: 4ead3357-e1c3-4116-692b-08d4c7bac33e x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BN6PR2001MB1076; x-ms-traffictypediagnostic: BN6PR2001MB1076: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(133145235818549)(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)(10201501046)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123560025)(20161123558100)(20161123555025)(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: 03648EFF89 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(6009001)(39450400003)(39400400002)(39410400002)(39840400002)(39850400002)(2351001)(3280700002)(7736002)(7696004)(3846002)(5660300001)(3660700001)(9686003)(2501003)(6116002)(102836003)(189998001)(77096006)(6916009)(2900100001)(5640700003)(54356999)(25786009)(86362001)(50986999)(38730400002)(74316002)(33656002)(81156014)(81166006)(8936002)(6506006)(305945005)(66066001)(99286003)(6436002)(8676002)(2906002)(110136004)(1730700003)(55016002)(478600001)(72206003)(14454004)(53936002)(460985005)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR2001MB1076;H:BN6PR2001MB1074.namprd20.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2017 17:40:31.6781 (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 X-SW-Source: 2017-07/txt/msg00141.txt.bz2 For my personal use, I use gcc to generate binaries, but occasionally I nee= d=20 to make a binary available to someone who doesn't use Cygwin. For that I us= e=20 Cygwin's x86_64-w64-mingw32-gcc. After the fact, I would like to know whether the binary requires Cygwin sup= port=20 or not. One way is: strings foo.exe | grep cygwin1.dll Curious what techniques others might use. One of my wishes for Cygwin is for the "file" command to make the distincti= on. --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