What is Cross compiler?

By
An embedded systems developer writes and compiles programs on a larger computer which can support a C development environment. The compiler used does not translate to the machine language of the development computer, it produces a version of the program in the machine language of the 8 bit microcontroller. A compiler that runs on one type of computer and provides a translation for a different type of computer is called a cross-platform compiler or cross-compiler.


The object code formats generated by a cross-compiler are based on the target device. For example, a compiler for the Motorola MC68HC705C8 could generate an S-record file for its object code.

0 comments:

Post a Comment

If you have any questions or droughts feel free to ask here.