Cross-compiler in the context of Embedded system


Cross-compiler in the context of Embedded system

Cross-compiler Study page number 1 of 1

Play TriviaQuestions Online!

or

Skip to study material about Cross-compiler in the context of "Embedded system"


⭐ Core Definition: Cross-compiler

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 PC but generates code that runs on Android devices is a cross compiler.

A cross compiler is useful to compile code for multiple platforms from one development host. Direct compilation on the target platform might be infeasible, for example on embedded systems with limited computing resources.

↓ Menu
HINT:

In this Dossier

Cross-compiler in the context of Compiler

In computing, a compiler is software that translates computer code written in one programming language (the source language) into another language (the target language). The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a low-level programming language (e.g. assembly language, object code, or machine code) to create an executable program.

There are many different types of compilers which produce output in different useful forms. A cross-compiler produces code for a different CPU or operating system than the one on which the cross-compiler itself runs. A bootstrap compiler is often a temporary compiler, used for compiling a more permanent or better optimized compiler for a language.

View the full Wikipedia page for Compiler
↑ Return to Menu