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

M1 support #29

Closed
mcandre opened this issue Sep 7, 2021 · 4 comments
Closed

M1 support #29

mcandre opened this issue Sep 7, 2021 · 4 comments

Comments

@mcandre
Copy link
Owner

mcandre commented Sep 7, 2021

Pending multiarch/crossbuild#51

@mcandre
Copy link
Owner Author

mcandre commented Sep 8, 2021

The grandparent upstream project https://github.com/tpoechtrager/osxcross requires an Apple Clang toolchain in order to enable arm64[e] architecture.

@mcandre
Copy link
Owner Author

mcandre commented Sep 9, 2021

Pending tpoechtrager/osxcross#269

@mcandre
Copy link
Owner Author

mcandre commented Sep 9, 2021

It's entirely possible that osxcross is able to build simple C/C++ binaries for arm64[e] M1 machines. Only a physical machine will be able to tell how well these binaries run.

https://app.box.com/s/5ll9c4ep2zips9txhbvardh208p1hpiv

@mcandre
Copy link
Owner Author

mcandre commented Sep 9, 2021

The x86 family binaries test fine on an Intel Mac.

file and otool report normality for the arm64[e] binaries.

When hello.cpp is compiled via the short osxcross compiler, rather than the longer arm64e-apple-darwin20.4-c++ compiler, then the linker warnings disappear.

@mcandre mcandre closed this as completed Sep 11, 2021
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

1 participant