BUG: exec format error: emacs
Ronald Fischer
ynnor@mm.st
Mon Jan 20 08:08:00 GMT 2020
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
More information about the Cygwin
mailing list