+ 1

What is compiler and linker?

The difference

15th Feb 2017, 10:19 PM
Wissam Almonaged
Wissam Almonaged - avatar
2 ответов
+ 6
The compiler is responsible to create machine code from a source file. It creates what are called object files. The linker joins one or more objects files to produce a library or an executable file. The compiler needs the source files and the header files. The linker needs the object files and the libraries they use. The structure of the object files, executables and libraries depends on the ABI (application binary interface) specification.
15th Feb 2017, 11:08 PM
Francisco Gonzalez
Francisco Gonzalez - avatar
15th Feb 2017, 10:48 PM
Samuel Kurnas