> A cross compiler is a compiler capable of creating executable code for a platform other than the one on which the compiler is running. For example, a compiler that runs on a PC but generates code that runs on an Android smartphone is a cross compiler.
https://en.m.wikipedia.org/wiki/Cross_compilation
So compile on Linux, run on macOS without Rosetta