What is compiler, linker, loader?

后端 未结 14 964
离开以前
离开以前 2020-12-07 06:48

I wanted to know in depth meaning and working of compiler, linker and loader. With reference to any language preferably c++.

14条回答
  •  一生所求
    2020-12-07 07:03

    • Compiler: A language translator that converts a complete program into machine language to produce a program that the computer can process in its entirety.
    • Linker: Utility program which takes one or more compiled object files and combines them into an executable file or another object file.
    • Loader: loads the executable code into memory ,creates the program and data stack , initializes the registers and starts the code running.

提交回复
热议问题