zsh.com does not automatically run ape executables on M1 Mac
mrdomino opened this issue · 3 comments
mrdomino commented
% make o/aarch64/examples/hello.com
% o/aarch64/examples/hello.com
zsh: exec format error: o/aarch64/examples/hello.com
% ape o/aarch64/examples/hello.com
hello world
Was anything special done to bash.com to make it support this? If so then the same thing needs done to zsh.com. If not then we should figure out why zsh talks funny and fix it.
jart commented
Do you have ape
installed to /usr/local/bin/ape
?
jart commented
The special thing happens in our execve() implementation which should automatically force zsh to be able to run APE binaries. Try posting the --strace
log.
mrdomino commented
It's not happening on the current version of zsh, so I'm going to close this as completed.