answersLogoWhite

0


Best Answer

Compiler - Translates High level language (C, C++ etc.) and generates Object code (machine readable but not directly executable)

Interpreter - Same as compiler but do that interactively (simply saying line by line). Interpreted languages don't usually require a linker, and employ a loading process different from that of a compiled program: the interpreter itself is linked and loaded like a compiled program (and in all probability is a compiled program), but the program interpreted by the interpreter is typically loaded through interpreter-specific means.

Linker - Connects the compiler generated object code with library code to generated independent executable (like in C, you dont write how printf() works, linker add the code for printf() function in your program)

Loader - Load the machine readable codes in memory to be executed. This step typically includes relocating the code output by the linker to a specific memory location into which the program was being loaded.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the relationship between compiler interpreter loader and linker?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Functions of a linker in system software?

A linker takes the object files produced by the compiler and links them together to form a single machine code executable.


What is difference between assembler and linker?

There is no definite term "assembler" in compilation process. It is more like "compiler" and "linker". Assembler usually refers to a compiler of machine language: http://en.wikipedia.org/wiki/Assembly_language So you probably mean difference between compiler and linker? Lets say you have a 3 module program, and it uses a 3rd party library, then the compiler will just compile each of your modules (separately) into binary pieces, which have "unclosed" references to abovementioned library and other 2 modules. After u have 3 binary pieces comes in "linker" it attaches those "unclosed" (or unlinked) links to other modules and library, therefore giving you working program file (.exe file for example). Really hard to say that without a schema or something like that:) Hope this answer helped you.


What is tlink in c plus plus compiler?

TLINK is the Turbo C++ linker utility. You use it to link the object files created by the Turbo C++ compiler.


Did linker converts source program into machine code?

No.That's the job of the compiler. The linker takes the pieces of object code created by the compiler and links all the necessary pieces together to produce a finished product: either an executable program or a code library that can be used in future projects.


Is used to translate an entire 3GL or 4GL program into machine language before any of the program is executed?

A compiler and a linker.

Related questions

What are the cousins of a compiler?

First cousin twice removed is an interpreter, second cousin is an assembler. Its siblings are a text-editor, a linker and a debugger.


What are types of system programs?

compiler linker loader macroprocessor assembler


What are the types of system program?

compiler linker loader macroprocessor assembler


What are the five types of system?

compiler linker loader macroprocessor assembler


Functions of a linker in system software?

A linker takes the object files produced by the compiler and links them together to form a single machine code executable.


Is linker a system software?

A linker is a component of a compiler. The entire compiler suite, including the linker, can be defined as system software, depending on the definition being used. Odds are, if you're working in the open source community, such as Linux, the linker is considered system software, while if you're working in the proprietary market, the linker is not considered system software. If you need a definitive answer, such as for a class, refer to your textbook for the "correct" answer.


What are the five types of system programs?

compiler linker loader macroprocessor assembler


When is an object file in c used?

When you write a compiler, assembler or linker in C.


What are the three c plus plus programming language components?

The editor, compiler and linker.


What is difference between assembler and linker?

There is no definite term "assembler" in compilation process. It is more like "compiler" and "linker". Assembler usually refers to a compiler of machine language: http://en.wikipedia.org/wiki/Assembly_language So you probably mean difference between compiler and linker? Lets say you have a 3 module program, and it uses a 3rd party library, then the compiler will just compile each of your modules (separately) into binary pieces, which have "unclosed" references to abovementioned library and other 2 modules. After u have 3 binary pieces comes in "linker" it attaches those "unclosed" (or unlinked) links to other modules and library, therefore giving you working program file (.exe file for example). Really hard to say that without a schema or something like that:) Hope this answer helped you.


What is tlink in c plus plus compiler?

TLINK is the Turbo C++ linker utility. You use it to link the object files created by the Turbo C++ compiler.


How do you run lisp programs?

You compile and link them using a lisp compiler/linker, then run the file produced.