From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37830 invoked by alias); 20 Jan 2020 08:08:33 -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 37823 invoked by uid 89); 20 Jan 2020 08:08:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=(unknown) X-HELO: wout3-smtp.messagingengine.com Received: from wout3-smtp.messagingengine.com (HELO wout3-smtp.messagingengine.com) (64.147.123.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Jan 2020 08:08:22 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 4153B337; Mon, 20 Jan 2020 03:08:20 -0500 (EST) Received: from imap6 ([10.202.2.56]) by compute6.internal (MEProxy); Mon, 20 Jan 2020 03:08:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mm.st; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm2; bh=+vTv/huXTIrriyt3RBM4nGxH97PVgP4 WSjK5a6D2Nf8=; b=nN1bG4cwa1Cu7lrGgZFJmNnAmrJS6iq8UGtQsq3g1FWzRuE aYfAWA25ONrilMxQtLfoLXXNSYzSIoi5M8pZJ21zQpg542eOabeedbha5/Xhg5la 7iwgn8s5RK78ZsF0KeYBnPzzwArqTmhAiEN91NF5q3assrnj1B165otxp3F6cS2q YJb73Yah+Fp7MSVetdOXhdfZ6HUnZkE7rY9e3xvqq1TjKbmMYEwXGjMindaMlqS+ RrSecHymDznYrDOo+amyGCOLqIEED7Ga57dC6isw3TSa3sXVjBye3gfT/2KyY76s gtP3uoG7tIORqzAdoQJoZGM/KpysHzZvmaAfBzQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=+vTv/h uXTIrriyt3RBM4nGxH97PVgP4WSjK5a6D2Nf8=; b=YVdH6cTQpqphhZYMM76spZ Cu3D5m2AdvUJOdcEb3ryFMnABxBMv8B0gi8PVmtj0o4b/1PdAMMPEjztmRZ1kv/l kh7IeyWsA2DK62Cg9SxhYobKbJCn5bzj1299MBaOP32OayMuKboVs/w1uv7MK/Jz 2sNzxT7KO1sfOZ/z8N0BFT19XR3DUgEhCuLwc63tIhGiE2d86d0MBdfOCyq/CNZn Fgwr7TW+HIkISAyk5PGJXrpHPI72ZeWbBUgaqfQ9EVpH3EN0ekIRqaitmBxH/UOr ltihNhtt9iPedayELKn0bSvXbyGPFbJWFvpt2/G6/LdwJSEhpn9mGSiyBv79Hr5w == X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeggdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdftohhn rghlugcuhfhishgthhgvrhdfuceohihnnhhorhesmhhmrdhstheqnecuffhomhgrihhnpe gthihgfihinhdrtghomhenucfrrghrrghmpehmrghilhhfrhhomhephihnnhhorhesmhhm rdhsthenucevlhhushhtvghrufhiiigvpedt Received: by mailuser.nyi.internal (Postfix, from userid 501) id 638501400A1; Mon, 20 Jan 2020 03:08:19 -0500 (EST) User-Agent: Cyrus-JMAP/3.1.7-754-g09d1619-fmstable-20200113v1 Mime-Version: 1.0 Message-Id: <3fcea698-6d4b-4a6d-b193-d9d83bc382ae@www.fastmail.com> In-Reply-To: <2bf77d8d-0f31-e566-c63d-99c6b1484142@cornell.edu> References: <4748ff5b-6433-42a6-ad30-779bf7c98422@www.fastmail.com> <2bf77d8d-0f31-e566-c63d-99c6b1484142@cornell.edu> Date: Mon, 20 Jan 2020 08:08:00 -0000 From: "Ronald Fischer" To: "Ken Brown" , "cygwin@cygwin.com" Subject: Re: BUG: exec format error: emacs Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00164.txt.bz2 I have now solved the problem by explicitly removing /usr/bin/emacs before re-installing it using Cygwin Setup. Now it indeed became a symlink (to /etc/alternatives/emacs). Ronald On Fri, Jan 17, 2020, at 17:16, Ken Brown wrote: > 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 > > -- 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