X-Recipient: archive-cygwin@delorie.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:mime-version:message-id:in-reply-to:references
	:date:from:to:subject:content-type; q=dns; s=default; b=WphlRJ0s
	SOZlbmAlR8/2KHSo3wwHXvu4HHa8Jm4Xko0Phd5bkJmlu3feaWTuLchvO51yAt4k
	v1sOsPzHjoJCThAkKyGE5Kv0LmBN3Wq7XT1EaUq6BfMlkY6TJPMqykRI9ns5iPz8
	+xSO+bcYHXCyKtyZdzuvIKF95cJaRR9CdB0=
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:mime-version:message-id:in-reply-to:references
	:date:from:to:subject:content-type; s=default; bh=2Hkufy01nZOX/E
	6BklSbP0uYONc=; b=sW9ZIA7sPW5K6k4bmvEOSMIBEgc2v57kssQD4JYbvqt7vU
	qGv4RMTQXrbQirH3QBjzRDljM+TIVhoWKhHTPy92bK2ZS/DSBmcj53f58/8y3vIJ
	zujbmAgDSr7NzT0xx6xJyEwXycpc+MjKGubzg1fgPNPbEB8SOWyxwxCnESS24=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
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
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 09:07:59 +0100
From: "Ronald Fischer" <ynnor@mm.st>
To: "Ken Brown" <kbrown@cornell.edu>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: BUG: exec format error: emacs
Content-Type: text/plain
X-IsSubscribed: yes

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

