* Re: Modules and dll
2002-12-12 16:49 Modules and dll Alexandre Pires
@ 2002-12-12 16:17 ` Jesse Pollard
2002-12-12 16:23 ` Richard B. Johnson
1 sibling, 0 replies; 3+ messages in thread
From: Jesse Pollard @ 2002-12-12 16:17 UTC (permalink / raw)
To: Alexandre Pires, linux-kernel
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
run.
--
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil
Any opinions expressed are solely my own.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Modules and dll
2002-12-12 16:49 Modules and dll Alexandre Pires
2002-12-12 16:17 ` Jesse Pollard
@ 2002-12-12 16:23 ` Richard B. Johnson
1 sibling, 0 replies; 3+ messages in thread
From: Richard B. Johnson @ 2002-12-12 16:23 UTC (permalink / raw)
To: Alexandre Pires; +Cc: linux-kernel
On Thu, 12 Dec 2002, 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) ?
>
> Thanks
> Alexandre R. Pires
> Brasil
They are completely different. The only thing in common is that they
exist as files. Under windows, DLL are like the run-time library files
you see in /lib and /usr/lib. They have something in common with
shared object files. Beyond that, they are very different.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Modules and dll
@ 2002-12-12 16:49 Alexandre Pires
2002-12-12 16:17 ` Jesse Pollard
2002-12-12 16:23 ` Richard B. Johnson
0 siblings, 2 replies; 3+ messages in thread
From: Alexandre Pires @ 2002-12-12 16:49 UTC (permalink / raw)
To: linux-kernel
Hi,
We could compare the modules programs of linux with dlls of Windows ?
Exist many differences between them (in relation to the functioning) ?
Thanks
Alexandre R. Pires
Brasil
_______________________________________________________________________
Busca Yahoo!
O melhor lugar para encontrar tudo o que você procura na Internet
http://br.busca.yahoo.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-12 16:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-12 16:49 Modules and dll Alexandre Pires
2002-12-12 16:17 ` Jesse Pollard
2002-12-12 16:23 ` Richard B. Johnson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.