From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53360 invoked by alias); 17 Jan 2020 16:16:51 -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 53344 invoked by uid 89); 17 Jan 2020 16:16:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-9.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=ronald, Ronald, fischer, Fischer X-HELO: NAM11-DM6-obe.outbound.protection.outlook.com Received: from mail-dm6nam11on2128.outbound.protection.outlook.com (HELO NAM11-DM6-obe.outbound.protection.outlook.com) (40.107.223.128) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Jan 2020 16:16:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LZYcLV7jZr2pcGvuZ6pyM8RVtTahV68v7hE4LOMM2wAgenl3eZ+P345byGRlyLrOH+HNcypjLN/U5yD2bw8aHC6SDvYJM41jv+7QleYVsNMb69gvI7lgcmrlpfUBUipH5SOdWozICqy/BDPu95Vp5//LkG60xeolMInvhBA7IEFQSV9sRdaJl1O9vWhz846KfubhxUdkD8/vsVoC+h+P7UaLU/154xwmFOUk1p1A01v4BkQa1vkvLlVJP4BOOyZ5KBK2Oemk9fMWgxPDWy2RuSoepdFVuphVvqF/G95omA+uJZJ3C7rEWWfuGdVHHilyQu2SVexRfTf6asAQX6wvkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BlGvTXhuacnyqfOj1B4JQuLNfxviA5a6uFBfyg/HudU=; b=j1EcZT4Zl+ALg69AwrNYiFHszFDVFFEk9WHVhuq1U/dBWGFJh9LCY7Lt8g5j++PEmzHxUY38YacTZV2HaRTx2meZ6f0VNXxb6W1FaduE/j91SFs4arNkL4zcnmif8j86uItuPE78El9p4JeD9wBwkliwq8BSidtrX8sBUqW4fvjtByZ1m0s/EI2jhevli/Vw1+sVz0DRcacssCMUKS24khnS4WmzwxHaJYmGfswa8A2jUYa3hlNpSSfKVTWg8K+jB9i6bU5VwpvYMA8X0QftQzp6N5I8xhodL8eE4t/mPxu4F+QhbGSS6oPH+GEXc+krBzKHqlbHEiehJ3xN7MrElg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BlGvTXhuacnyqfOj1B4JQuLNfxviA5a6uFBfyg/HudU=; b=hHRtjLyyDpDFmd/y00hksIuAKzhXY+SGJ/Lx2A+xJwtFvkjyHH3Q9e8ubickId4abMlTYT3+V5OKiMMjz9HVi3HpXzNsIdTZp8/Ak/hXD/mMFXxXJa8pJUjuXXqDjqPx60Lp8IUq1gQcrA2crnY//m+/g2cLlzW0O7VcI1zleE4= Received: from DM6PR04MB5738.namprd04.prod.outlook.com (20.179.51.81) by DM6PR04MB4043.namprd04.prod.outlook.com (20.176.89.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.20; Fri, 17 Jan 2020 16:16:30 +0000 Received: from DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::cc3:c238:852e:5831]) by DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::cc3:c238:852e:5831%7]) with mapi id 15.20.2644.015; Fri, 17 Jan 2020 16:16:30 +0000 Received: from [10.13.22.8] (65.112.130.194) by BN6PR19CA0075.namprd19.prod.outlook.com (2603:10b6:404:133::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.19 via Frontend Transport; Fri, 17 Jan 2020 16:16:30 +0000 From: Ken Brown To: "cygwin@cygwin.com" Subject: Re: BUG: exec format error: emacs Date: Fri, 17 Jan 2020 16:16:00 -0000 Message-ID: <2bf77d8d-0f31-e566-c63d-99c6b1484142@cornell.edu> References: <4748ff5b-6433-42a6-ad30-779bf7c98422@www.fastmail.com> In-Reply-To: <4748ff5b-6433-42a6-ad30-779bf7c98422@www.fastmail.com> user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown@cornell.edu; x-ms-oob-tlc-oobclassifiers: OLM:546; received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-ID: <558B70C944C60943AB1EBA87F0716FCA@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: raGb1ytJbviLZXe1OTDp/yutXGV9qE62+gGskEA+lBHTJAEILbqmwgTvpb4O74tVUQzeMtMvmq/0MbQVCvNtpQ== X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00146.txt.bz2 On 1/17/2020 10:33 AM, Ronald Fischer wrote: > When trying to run `emacs`, I get >=20 > (on zsh) : zsh: exec format error: emacs > (on bash): bash: /usr/bin/emacs: cannot execute binary file: Exec forma= t error Are you sure Cygwin's emacs is the first one in your path? Cygwin's=20 /usr/bin/emacs should be a symlink: $ ls -l /usr/bin/emacs lrwxrwxrwx 1 kbrown-admin None 23 2019-03-21 18:11 /usr/bin/emacs ->=20 /etc/alternatives/emacs* Ken -- 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