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

cross-compiling for arm64 target on x86_64 host? #15

Closed
ogrisel opened this issue Jan 11, 2021 · 2 comments
Closed

cross-compiling for arm64 target on x86_64 host? #15

ogrisel opened this issue Jan 11, 2021 · 2 comments

Comments

@ogrisel
Copy link

ogrisel commented Jan 11, 2021

Is it possible to use the 10.2-bigsur-intel release to cross-compile to target arm64 target on a x86_64 host?

@fxcoudert
Copy link
Owner

No. To my knowledge no-one is hosting a x86_64-to-arm64 cross-compiler. It's possible to build one from sources at https://github.com/iains/gcc-darwin-arm64 or https://github.com/fxcoudert/gcc/tree/gcc-10-arm but it's not trivial. I've documented some steps to do that at iains/gcc-darwin-arm64#34

@ogrisel
Copy link
Author

ogrisel commented Jan 11, 2021

Thank you for the quick feedback!

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