English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

state any two differences...

2007-02-08 22:00:34 · 6 answers · asked by Rajni 2 in Computers & Internet Programming & Design

6 answers

Compiler does syntactical and semantical evaluations.
Linker does address binding.
Compiler during evaluation gives the offset address.
Linker during evaluation gives the base address and offset address.

2007-02-08 22:08:36 · answer #1 · answered by Rishi 3 · 0 0

Compiler Linker

2016-11-02 22:25:13 · answer #2 · answered by veradis 4 · 0 0

Compiler is a system program that compiles the high level programming language source code (nothing but an ASCII text file) that you write (*.c, *.cpp, etc.) and transforms (in case of successful compilation) it into a machine understandable program - which is a binary image of program (here the output is *.obj).

Linker is a system program which links the intermediate object file (*.obj) produced by the compiler with the library functions that comes along with the language library and produce the executable file (*.exe) which when loaded in memory starts execution as per the instructions stored in it.

2007-02-08 22:19:34 · answer #3 · answered by Magesh 1 · 0 0

difference between compiler and linker is that:
1. Compiler compile the program and find the syntax error, where linker link the .obj file(object file), and finds the linking error.
2. After successfully compilation compiler produce object file which is used by linker. where after successfully linking .exe file(executable file) produced.

2007-02-08 22:25:23 · answer #4 · answered by Amit Mishra 1 · 0 0

compiler converts the high level language to machine language at a time while linker connects the compiled code with other compiled codes or programs (LIB) library files

2007-02-08 23:29:56 · answer #5 · answered by ch_nagarajind 3 · 0 0

A compiler converts a program or subroutine into machine readable code. A linker joins compiled programs and subroutines together to form one linked module that can be executed.

2007-02-08 22:07:19 · answer #6 · answered by AnalProgrammer 7 · 0 0

fedest.com, questions and answers