Hi I wanted to know in depth meaning and working of compiler, linker and loader. With reference to any language preferably c++.
thanks in advance !
Hi I wanted to know in depth meaning and working of compiler, linker and loader. With reference to any language preferably c++.
thanks in advance !
Wikipedia ought to have a good answer, here's my thoughts:
ASCII representation:
[Source Code] ---> Compiler ---> [Object code] --*
|
[Source Code] ---> Compiler ---> [Object code] --*--> Linker --> [Executable] ---> Loader
| |
[Source Code] ---> Compiler ---> [Object code] --* |
| |
[Library file]--* V
[Running Executable in Memory]