answersLogoWhite

0


Best Answer

#)Linker is a program that takes one or more objects generated by a compiler and combines them into a single executable program.

#)Loader is the part of an operating system that is responsible for loading programs from executables (i.e., executable files) into memory, preparing them for execution and then executing them.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago
  • linker which linkes the files whereas lodar which loads the file after linking .
  • linkers takes independently translated programs as input whose original source language representations includes symbolic refrences to each other whereas loaders accept object program, prepare these programs for execution by computer and initiate the execution
This answer is:
User Avatar

User Avatar

Wiki User

15y ago

* linker which linkes the files whereas lodar which loads the file after linking * linkers takes independently translated programs as input whose original source language representations includes symbolic refrences to each other whereas loaders accept object program, prepare these programs for execution by computer and initiate the execution

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

LINKERS:-

Linkers are the system softwares that are used to link the functions,resources to their respective references.

EX-

source code(.c) is compiled and converted into object code(.obj) in C.

After this Linker comes into the act, linker resolve all the references in .obj file via linking them to their respectives codes and resources.In short linker performs the final step to convert .obj into executable or machine readable file(.exe).

eg:

#include<stdio.h>

int main()

{

printf("ashwin");

return 0;

}

here,compiler first searches the declaration for "printf()" function,finds it in "#include<stdio.h>" and creates a (.obj) file successfully.

A symbol table is created in (.obj) file which contains all the references to be resolved,linkers resolves them by providing respective code or resource,

here code referred by "printf" also gets executed after successful creation of( .exe) file by linker.

LOADERS:

Loaders are the programs that are used to load the resources like files from secondary or main memory,i.e.

SUMMARY:

Loader loads the referred resource or file after being Linked to referrer via a Linker during the execution of program.

This answer is:
User Avatar

User Avatar

Alienester

Lvl 2
3y ago

HAAHAHAHAHHAHAHAH I HAVE FOOD AND YOU Don't HAHHAHAHAHAHAHA HAHAHAHAHHAAHHAAHAHAHHAAHHAHA

food, ingredient, recipe, tableware
This answer is:
User Avatar

User Avatar

Wiki User

15y ago

A compiler converts high-level code into object files, a linker links together these object files into a single executable

This answer is:
User Avatar

User Avatar

Alienester

Lvl 2
3y ago

@SS

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Differce between linker and loader
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is 8051 loader?

The Loader is a program that moves the executable file produced by linker from the secondary storage device to memory for execution


Linker and loader in c language?

There is no such thing in the C language, but it is true that operating systems have a component called loader which loads binary program-files (whose source may be written in C language) into the memory and prepares them to the execution.


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.


What is the difference between wheel loader and front end loader?

Difference between Front End Loader and Wheel Loader


What is the relationship between compiler interpreter loader and linker?

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.

Related questions

What will be executed first loader or linker?

loader


What is direct linking loader in?

linker


Components of software?

linker ,loader,assembler


State the function of a loader and linker?

A loader loads software onto a computer. A linker points to software so other software knows where to find it.


What are the five types of system?

compiler linker loader macroprocessor assembler


What are the types of system program?

compiler linker loader macroprocessor assembler


What are types of system programs?

compiler linker loader macroprocessor assembler


What is 8051 loader?

The Loader is a program that moves the executable file produced by linker from the secondary storage device to memory for execution


What are the five types of system programs?

compiler linker loader macroprocessor assembler


Linker and loader in c language?

There is no such thing in the C language, but it is true that operating systems have a component called loader which loads binary program-files (whose source may be written in C language) into the memory and prepares them to the execution.


Why static library are attached to w program via the linker while shared libraries are attached by the loader?

Because static libraries are, well, STATIC. They are LINKed STATICally to the program by the LINKer. Shared libraries are SHARED. They are linked by the LOADer when LOADed to SHARED libraries in system memory.


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.