-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 John Emmas wrote: > Oops, I meant to ask another question (almost a variation on the same > theme). Does Cygwin itself (or more correctly, its linker) link > automatically to any of the standard Windows libs (such as kernel32.lib, > user32.lib etc).
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. Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkkq44wACgkQpiWmPGlmQSP/mACfd9ErbZHtvxmqghR0VNsly0iA 2CIAoPjbQKlJk8vbuhUGsyznqpKPRJPN =lv0f -----END PGP SIGNATURE----- -- 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/