answersLogoWhite

0


Best Answer

Yes. All assemblers generate object code files, as do some compilers (others generate files to be fed to the assembler). The linker will link various object files into a single executable object.

It is, however, quite possible to have multiple linkers on a single system, that may or may not handle compatible input/output files. (MSVC vs Borland vs icc vs gcc/binutils, etc...)

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why there is single linker while several compiler and assembler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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.


Typically in a computer system there can be several compiler and assemblersHoweverhere is generally a single linker?

Yes. All assemblers generate object code files, as do some compilers (others generate files to be fed to the assembler). The linker will link various object files into a single executable object. It is, however, quite possible to have multiple linkers on a single system, that may or may not handle compatible input/output files. (MSVC vs Borland vs icc vs gcc/binutils, etc...)


Where are linkers used in conversion from source code to executable code?

Okay, heres basically how it works- 1. The preprocessor reads all the includes/imports, macros, and other directives. 2. The compiler takes the source, and translates it into assembler language. 3. The assembler takes the code generated by the compiler, and makes an assembly listing with offsets, and then stores this in object files. 4. The linker links together these object files into a single file (EXE file)


What is object linker?

In computer science, a linker or link editor is a program that takes one or more objects generated by a compiler and combines them into a single executable program.http://en.wikipedia.org/wiki/LinkerThis is a response to the question, "What is object linker?". The appropriate question would have been, "What is a linker or link editor in the field of Computer Science and Software Engineering?". Note that a linker is called a loader when it refers to a run-time process. Linkers refer to compile-time processes.


How linker works?

There is no such thing as a Java "linker". There is, however, the concept of a classloader which - given an array of java byte codes from "somewhere" - can create an internal representation of a Class which can then be used with new etc...................


Single pass assembler in system software?

input file for the single pass assembler


What is the process of linking in compiler?

In a compiler, linking is the process of combining multiple object files into a single executable file. It involves resolving external references between object files and libraries, as well as organizing the memory layout of the executable. Linking typically happens after the compilation and usually involves a linker program.


What are the advantages of linker?

When developing large programs, different people working at the same time can develop separate modules of functionality. These modules can then be "linked� to form a single module that can be loaded and executed. The modularity of programs, that the linking step in assembly language makes possible, provides the same convenience as it does in higher-level languages; namely abstraction and separation of concerns. Once the functionality of a module has been verified for correctness, it can be re-used in any number of other modules. The programmer can focus on other parts of the program. This is the so-called "modular" approach, or the "top-down" approach.


What is a Linker used for in computer programming?

Linking is the process of combining various pieces of code and data together to form a single executable that can be loaded in memory. Linking can be done at compile time, at load time (by loaders) and also at run time (by application programs)


what tool used to convert C++ source code into executable machine code?

Compliers are used to convert C++ into assembly code. Then a tool called an "assembler" converts that code into machine code. Finally, a "linker" connects all of those machine code files into a single executable.


What tool translates a c plus program into machine language?

You haven't listed any "tools", however the compiler followed by the linker produce the native machine code. from source code. A MakeFile combines the two operations into a single "build" operation.


What are the four types of grammars used in compiler?

-Single pass compiler -Multi pass compiler -Cross compiler -Optimizing compiler