This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
"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.
Thanks for the info guys.
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
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |