SDL 2 with Mac M1


a small question ; SDL2 for Mac M1 has been and translated into arm?


I have recently purchased an m1 macbook and have been trying to get SDL2 working, but I have not been able to get it to properly link libraries. The SDL homepage claims it works on apple silicon and others have been using it but I have yet to find a guide on how to get it setup. Once I do I will write up my experience.

I can confirm it works. I finally got it to work through rosetta. Next is to get it to compile natively.

thanks for your feedback, do you compile with ‘xcode’?

No I go back and forth between vim and emacs and compile from the command line. I am new to mac os and have not really explored xcode yet. It does seem like a really nice ide, especially for apple development.