Cross-Compiler is a compiler that can compile a executable file which can execute on a different platform.
Like gcc on Linux can get a ARM executable file.
The advantage is that we can get the exe file through a high-performance x86 PC, instead of ARM CPU. And it’ll make the compile time more faster.