I'd like to have a compiler for ARM on my Mac, and I read somewhere that there is a way to run and maybe debug ARM code on Xcode.
Anyone has any hint on how I should do or if it is even possible?
Any other solution for ARM on Mac?
Thanks
Running ARM program on xcode
gccxcode
Best Answer
Running ARM code on macOS
See How to emulate an ARM architecture under OSX 10.6 (“Snow Leopard”)? The answers to this question include suggestions for:
QEMU
QEMU can be installed from Homebrew:
brew install qemu
Skyeye
Skyeye may be no longer under active development.
Cross Compiling ARM with Xcode
Getting Xcode to correctly cross-compile non-iOS device ARM code on the Mac appears to be possible, if tricky. You may find focusing on command line compiling easier.
embedXcode
Alternative Approaches