On Tue, 21 Feb 2023 at 22:55, David Malcolm via Gcc <gcc@gcc.gnu.org> wrote: > IIRC I saw you post a few days ago about trying to build gcc on your M2 > laptop; did you manage this? Building GCC trunk from a git checkout, > and hacking in a "hello world" warning would be a great place to start. > See the guide above for some hints on how to make this process quicker, > and let me know if you need help if you run into difficulties. Given > that the analyzer is about emitting warnings, rather than generating > code, it may be that although we don't yet fully support your hardware, > we *might* already support it enough to allow for hacking on the > analyzer, perhaps with some judicious choices of "configure" options.
I think GCC trunk won't even build on M2, you need Iain Sandoe's out-of-tree patches.