Phobos and Tango deep dependancies

Gilles G. schaouette at free.fr
Tue Oct 2 12:26:20 PDT 2007


Walter Bright Wrote:
> phobos.lib doesn't have any dependencies on various dll's, except that 
> std.socket pulls in ws2_32. All the dll dependencies come from the C 
> runtime library, snn.lib.
> 
> The only explicitly loaded dll's in snn.lib are kernel32 and user32. Any 
> other dll's are loaded by those dll's, and any dynamically loaded dll's 
> are loaded by those dll's. Not by phobos or snn.
OK. It is much clearer now: it is the C runtime which loads load kernel32 and user32. And as Jascha Wetzel said user32 is the one which brings most of these dependancies.

But why does the C runtime library for DMD requires user32? A simple hello world program compiled using visual 2005 express does not depend on user32!
Is there any way to solve this?



More information about the Digitalmars-d mailing list