-
Notifications
You must be signed in to change notification settings - Fork 93
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
Why does GCC compiler using ARM64 format on Apple silicon compile X86_64 format? #58
Comments
I ran into the same problem. For my situation, the Platform IO installed was Darwin_x86_64. It is because platform IO's builtin python is Intel for some reason.
To fix, I did the following
|
Just in case someone else stumbles upon this issue. I gave up on using the VSCode IDE and instead just installed paltformio via homebrew
I also had to change |
Closing this issue as it’s resolved |
I set platform=native on Mac M1 and it compiles using my native gcc compiler. Why is my native gcc compiler in ARM64 format and able to compile x86_64 files? This caused an error when linking to sdl2 in arm64 format that homebrew downloaded
The text was updated successfully, but these errors were encountered: