Library issues with GCC - libuser32

Jim Marshall
Mon Nov 19 21:18:00 GMT 2007

Jeff Bader wrote:
> Using GCC: For ld to find "-luser32", I downloaded a version of w32api
> and then copied the libuser32 file into the main cygwin library. Why
> was this necessary to use GCC? Why could I not just install the devel
> package and be done with it?
> Thank you,
> Jeff
> ------------------------------------------------------------------------
Because the devel package in Cygwin is for making CYGWIN apps, not 
Windows apps. To make Windows apps you need to install the mingw tools 
and then use the "-mno-cygwin" option so the system knows to use the 
mingw tools to build a Windows program.

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list