Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support For Apple M1 Device #32

Open
faradele opened this issue May 19, 2022 · 2 comments
Open

Support For Apple M1 Device #32

faradele opened this issue May 19, 2022 · 2 comments

Comments

@faradele
Copy link

faradele commented May 19, 2022

Hello.

I'm currently unable to run the 7777 binary on a macOS device with the M1 chip.
Executing the binary after following the macOS install steps in the readme file yields the following output:

bad CPU type in executable: 7777

Is there any plan to support M1 devices?

Thank you.

@faradele
Copy link
Author

@mnapoli
Can you kindly provide any assistance on this matter?

@mnapoli
Copy link
Member

mnapoli commented Aug 2, 2022

Hey @faradele, sorry for the delay!

When running an intel binary on M1 for the first time, macOS should offer to install Rosetta (macOS's compatibility layer). That's what I have done on my machine and 7777 works without issue. In case installing Rosetta is skipped, it will not offer to install it again.

What you can do then is install it (see https://apple.stackexchange.com/questions/408375/zsh-bad-cpu-type-in-executable):

softwareupdate --install-rosetta

That's a workaround, in the future I want into building M1-specific binaries but that requires reworking the build process a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants