How does a linked library combined with the main executable program file interact with a kernel?

Posted by I ask Questions For a Reason on Programmers See other posts from Programmers or by I ask Questions For a Reason
Published on 2013-06-28T19:50:22Z Indexed on 2013/06/28 22:27 UTC
Read the original article Hit count: 159

Filed under:

I was attempting to find an answer to this, and I did to some degree, but definitely not anywhere good enough to form a respectable, sensible and clear answer.

If I am using Windows, Mac, Linux, or nearly any modern made OS for desktop IBM-compatible PCs, laptops, even tablets and smartphones, there's virtual memory.

Clearly, compiling, at least on Windows I know this, an executable object file, such as a simple C "Hello World" output to a terminal, will be linked with the standard library, and several other Window's system software, dynamic linked libraries, and the like.

However, how does linking all of these executables together or resources form a connectable interaction with, say, a device driver or any other stuff on the lower level?

© Programmers or respective owner

Related posts about kernel