Although GCC does not support Macos on M1, Ian Sandoe is maintaining a
port, to be hopefully included in GCC 14.
Interesting, but also concerning.
I am glad I moved all my code back to C99*, avoiding getting stuck with gcc when targeting MacOS on Apple silicon.
Out of curiosity, is there any forecast/estimate when GCC will support MacOS on Apple silicon?
Gaius, perhaps you want to consider a back end that generates C99 from Modula-2 input for such situations.
[*] As somebody who doesn't have time to work on projects continuously but taking long hiatuses in between stretches of work, I have regularly been hit by tools or libraries that I was using no longer working once I got back to work, then wasting all my available time on trying to fix the broken dependency, and not getting any real work done at all as I was running out of time and had to take another hiatus, after which again some dependency broke. Eventually, I adopted an NIH ("not implemented here") attitude, writing everything myself, from scratch if needed, and I actually get more work done this way. The only thing I now use is a C99 compiler and its stdlib. Plenty of implementations to choose from if one of them breaks. The next time I will be coding in Modula-2 will be after I get my compiler bootstrapped.