On Fri, 27 Feb 2004, Dimitrie O. Paun wrote: [...]
@@ -801,7 +753,7 @@ $basename=~ s/.(dll|exe)$//i; # This is the default link list of Visual Studio, except odbccp32 # which we don't have in Wine.
- my @std_imports=qw(advapi32 comdlg32 gdi32 kernel32 odbc32 ole32 oleaut32 shell32 user32 winspool);
- my @std_imports=qw(odbc32 ole32 oleaut32 winspool); my @std_libraries=qw(uuid);
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?
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.