Good to know this one! :)
Always good to read about the differences of unix and win32 stuff. :)
Am Mo. Apr. 14 2014 17:14:14 schrieb mscdex:

> On Monday, April 14, 2014 10:32:25 AM UTC-4, Pawel Por wrote:
> I can see that node.lib exists in Windows installation and does not exist in 
> Linux one.
> It is used when linking native (C++) modules. I wonder why node.lib is not 
> necessary during linking on Linux.
> 
> It's a matter of platform differences. AFAIK Windows' shared libraries (DLLs) 
> are more like regular executables, just without a main entry point. So 
> because of this, the linker needs to know some extra information (e.g. names 
> and entry points) of functions inside the DLL in order for an external 
> program to be able to link to and call those functions. This information is 
> what is stored inside the .lib file.
> 
> On *nix however, a shared library already contains all of the necessary 
> information needed for linking to it, so no extra (.lib) file is needed.
> 
> That is why a .lib is needed for Windows and not for Linux :-)
> 
> --



-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to