-
Notifications
You must be signed in to change notification settings - Fork 96
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
avr-g++: bad CPU type in executable on Mac M1 #28
Comments
I found this fork with fix for m1 mac and it saved me 😮💨 |
New to this whole process, but I can't seem to get Arduino IDE to recognize the new fix file, would you be able to assist? |
sure 👌 |
You are a God! Thank you! Running into other issues now, but I'll try to figure those out before I hassle you with those! Sorry for the delay in gratitude, just took me a hot minute to find some time to try this out. thank you! |
I was trying to use the Sanguino (version 1.0.3) on the Arduino IDE (version 2.3.2) and I'm getting this error when it try to compile:
Compilation error: fork/exec /Users/jvlobo/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++: bad CPU type in executable
I was investigating about the
bad CPU type in executable
error and found this on the official Arduino page -> https://support.arduino.cc/hc/en-us/articles/7765785712156-Error-bad-CPU-type-in-executable-on-macOSBut even after installing Rosetta it does not work.
Any ideas of how to solve this?
Thanks a lot!
The text was updated successfully, but these errors were encountered: