On Fri, 27 Feb 2004, Francois Gouget wrote:
Does winegcc systematically link applications and dlls to advapi32, comdlg32, etc? How does one do if one does not want to link with gdi32 for instance?
Yes, it does, those are the defaults for MinGW. More specifically, all apps are linked by default against these DLLs: advapi32 user32 kernel32 additionally, GUI apps are also linked against: shell32 comdlg32 gdi32
If you don't want these defaults, you specify the -nodefaultlibs on the command line.