tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.81k stars 320 forks source link

Arm64e (more a question than an issue) #369

Open philippe44 opened 1 year ago

philippe44 commented 1 year ago

Per title, this is more a question but I put it in issues as GH discussions are not open:

I tried to build for Mac M1 recently and I got the linker warning about the arm64e ABI and indeed the binary does not run on M1.

I decided to give my app a try an arm64 and I was surprised because it works.

I've read the posts about arm64e but I thought this was the only option for M1 and that things like signature are required (I'm using master osxcross which AFAII does not include the cctools PR to incorporate signature).

What is the recommendation here and what should work? Use arm64 till arm64e is stable? BTW, I also wanted to rebuild clang from the script and a few things fail, including the download even with the PR

spacedub commented 1 year ago

@philippe44 could not make the script to build clang either - I was aiming for llvm-15 (even after fixing the download issue). Ended-up just building LLVM out of band.

This helped:

I am wondering if the project here is still active... would be quite sad to see it bit-rot :/...