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 Windows 7 PC but generates code that runs on Android smartphone is a cross compiler.
Brief overview of methods that can be used to cross-compile:
- Canadian cross method
- GCC compiler
- Manx Aztec C cross compiler
- Microsoft C cross compiler.
Source: Wikipedia.
Option B