[OT] Re: Opening a (cygwin-ised) DLL

John Emmas johne53@tiscali.co.uk
Tue Nov 25 11:46:00 GMT 2008


----- Original Message ----- 
Sent: 24 November 2008 18:56
Subject: Re: [OT] Re: Opening a (cygwin-ised) DLL
>> 
>> "Yaakov (Cygwin Ports)" wrote:
>> 
>> 
>> kernel32 is added by default because libcygwin.a depends on it.  If you
>> pass -mwindows to gcc during linking, then gdi32 is added as well.
>>

From: "Brian Dessent"
> 
> It's not only kernel32:
> 
> [...]
> 
> This means that by default -luser32 -lkernel32 -ladvapi32 -lshell32 are
> added to every link, as well as -lgdi32 -lcomdlg32 if using -mwindows.
> 
> Brian
> 
Thanks for the info guys.

John

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list