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-id:content-transfer-encoding :mime-version; q=dns; s=default; b=Tok4CqtCRTFPurcpimMDj+4rrYyaV FQr8Efd23QPwAsgarvYMrxs+CmYP//gcQdzSlr1c3xDApR7JmX3SL7Q3nI0zk5Ch 5qUA5j6NFxm4nXbBmQEAS3GlaZ1NSzsdnJ4xt25hnwrTCVs2fiWLqL7unBSpKYvQ S1sIPfIzW3eN7k= 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-id:content-transfer-encoding :mime-version; s=default; bh=C3owDt8Prt1ZZ1Qh1uv9iNU1zPs=; b=gJm maH455BbYAb/uHI4KQGX7H7QalHVd2/WPrBuOjWrdjSiuYw0ukHubUxPj7M9puCK 1a1e1ifIszLpUvG6CUXbw1tbr9GXySg6Bf8Vq2/bRIP/0krtfE9K+wprbzhqvwDr 0wsXkzqMPn9UsTcffQ/DnYq4McYuwOgaMROodKyM= 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: 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 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= From: Ken Brown To: "cygwin AT cygwin DOT com" Subject: Re: BUG: exec format error: emacs Date: Fri, 17 Jan 2020 16:16:30 +0000 Message-ID: <2bf77d8d-0f31-e566-c63d-99c6b1484142@cornell.edu> References: <4748ff5b-6433-42a6-ad30-779bf7c98422 AT www DOT fastmail DOT 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 AT cornell DOT 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 AT namprd04 DOT prod DOT outlook DOT com> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: raGb1ytJbviLZXe1OTDp/yutXGV9qE62+gGskEA+lBHTJAEILbqmwgTvpb4O74tVUQzeMtMvmq/0MbQVCvNtpQ== X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 00HGHOb2017756 On 1/17/2020 10:33 AM, Ronald Fischer wrote: > When trying to run `emacs`, I get > > (on zsh) : zsh: exec format error: emacs > (on bash): bash: /usr/bin/emacs: cannot execute binary file: Exec format error Are you sure Cygwin's emacs is the first one in your path? Cygwin's /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 -> /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