Re: Modules and dll

From: Jesse Pollard (
Date: Thu Dec 12 2002 - 11:17:56 EST

On Thursday 12 December 2002 10:49 am, Alexandre Pires wrote:
> Hi,
> We could compare the modules programs of linux with dlls of Windows ?
> Exist many differences between them (in relation to the functioning) ?

no. Windows DLLs are more like shared libraries. They are easily replaced (if
inactive), and do not directly destroy the system if missing.

DLLs are connected to applications via subroutine calls (Win DLL and shared
libraries), modules are usually accessed via special files, or system calls.
There is no direct linking (by memory mapping the module code to the user
mode application). Shared libraries are done this way.

Modules are closer to the device drivers in windows, which is what most
modules support. They can also support extending the OS by adding
additional capabilities - TCP/IP, IPv4, and IPv6 come to mind as some of the
most used, followed by the loadable binary interpretation (elf vs a.out).

Another difference is the way they are used - modules are loaded into
kernel mapping either by a kernel resident loader, or a userspace tool that
does the same. Shared libraries and DLLs are just put on disk where the
applications have been linked to expect them (or use an environment
variable to provide a search list of places to look when the application is

Jesse I Pollard, II

Any opinions expressed are solely my own. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:25 EST