Joke Collection Website - News headlines - The process of converting a source program written in a high-level language into an equivalent target program is called?

The process of converting a source program written in a high-level language into an equivalent target program is called?

(Generally speaking) it is called establishment.

If high-level language refers to c:

The detailed compilation process of C language is divided into four steps:

1. preprocessor: aggregate source program (. C file) is stored in different files, replacing the macro in the language, such as the preprocessing instruction #include, so that the compiler can open the included file and leave its program to other programs to generate one. I file it.

2. Compile: preprocess the source program (. I file) into an assembler (. S file).

3.assember: Convert the assembler into machine code that can be relocated (that is, the addresses of code segments and data in the file have not been finalized), and this step generates the target file (. Obj or O file).

4.linker)/ loader: Linking is the process of linking the target file with other separately compiled and generated program modules (if any) and standard library functions provided by the system to generate a runnable executable file. When loading, all the code and data are in the appropriate location in the memory, and this step generates the final executable file.