Anda di halaman 1dari 6

BUILD PROCESS

WHAT IS BUILD PROCESS??


The embedded system programming is not subsequently different from the ordinary programming. The only thing that has really changed is that each target hardware platform is unique The process of converting the source code representation of the embedded software into an executable binary image involves three distinct steps: Compiler Linker ReLocator.

DIAGRAM

COMPILING
This is one of the most important steps in the build process where the object code is created from the source code. In the compiling process, the code that the user creates is called source code and the output of the compiler is called object code. There are 2 steps: Parsing Object code generation In the parsing step, the compiler parses the source file to validate the use of variables and checks that the language grammar are not violated. In the next step, the object code is generated from the corresponding high level language statements.

LINKING
The process of compilation end after creating object files for every source file. We still do not have a single executable. The Linker combines the object file by merging object file sections like for : .text section for code. .data section for initialized global variables .bss section for uninitialized global variables.

RELOCATING The relocator concerts a relocatable binary File into an absolutely located binary File. The relocator is guided by a linker script that specifies: Program and data memory for target part Stack size and Location Logical sections used in the source code to place code and ata. The relocator then produces an Executable File, that is for the development on the target computer

Anda mungkin juga menyukai