BUG: exec format error: emacs

Ken Brown kbrown@cornell.edu
Fri Jan 17 16:16:00 GMT 2020


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



More information about the Cygwin mailing list