Cross-Compilation

A cross compiler is a Compiler capable of creating executable code for a platform other than the one on which the compiler is running.

According to James Choi, when we say that a code can compile on QNX using cmake cross compiler means that compiling the code on Linux using qcc for a QNX target.

It is basically the process of compiling code on one system (the “host”) to produce executable code for a different type of system (the “target”).