Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have always been wondering, why is Linux ELF "loader" called interpreter? I mean, in standard programming meaning, an interpreter is used to run scripts, but ELF has machine code instructions. So it's more like the Windows loader.

I am really confused here.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

An interpreter is a program that translates code into immediate action, as opposed to a compiler, which translates one kind of code into another. An ELF interpreter translates the linking instructions embedded in the executable into the actions of loading the necessary dynamic libraries.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.