/ARM-Cross-Compilation-and-Tracing-using-Qemu-Tool

ARM cross compiler Cross compilation is the process of compiling code for one computer system also known as the target on a different system, called the host. A cross compiler is a type of compiler, that generates machine code targeted to run on a system different than the one generating it. Like we used arm cross compiler to convert from X86 processor to ARM. The Process of creating executable code for different machines is called retargeting. The cross compiler is also called as retargetable compiler. We have used GNU GCC 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 X86 processor but generates code that runs on ARM Processor is a cross compiler. A cross compiler is necessary to compile code for multiple platforms from one development host. Direct compilation on the target platform might be infeasible, for example on X86 using .o file , because those systems contain no operating system. In generalization, one computer runs multiple operating systems and a cross compiler could generate an executable for each of them from one main source. Cross compilers are distinct from source-to-source compilers. A cross compiler is for cross-platform software development of machine code, while a source-to-source compiler translates from one programming language to another in text code. Both are programming tools. The GNU Arm Embedded Toolchain is a ready-to-use, open-source suite of tools for C(As in our case), C++ and assembly programming. The GNU Arm Embedded Toolchain targets the 32-bit Arm Cortex-A, Arm Cortex-M, and Arm Cortex-R processor families.

Primary LanguageTeX

Stargazers