Entradas

Compilation process in c.

Imagen
  Compilation process in c. 🅒How do we compile in c? Compilation stages: Normally, when programming we do not create a single C .c file, but rather several of them containing different program functions. This provides us with several advantages: better code organization, better modularity and, above all, more ease (and speed) when compiling. This outline can be used to list common programming tasks. The most common task is generating an executable program. As its name indicates, it is a file that contains code that is directly executable by the processor. This can be built in various ways: 1. Preprocessed. At this stage the directives to the preprocessor are interpreted. Among other things, variables initialized with #define are substituted in code for their value in all places where their name appears. 2. Compilation. The compilation transforms the C code into the assembly language of the processor of our machine. The compilation transforms the C code into the assembly language o...