How does a cross compiler works? | SoloLearn: Learn to code for FREE!


How does a cross compiler works?

The compiler capable of creating an executable code for a platform other than the one on which the compiler is running is called cross compiler.

2/27/2018 4:34:54 PM


1 Answer

New Answer


It works in exactly the same way as a native compiler, one which generates an executable for its own system, the only difference is the code is generated in a format for the target system. It is the back end of the compiler that does the actual code generation. See for more information.