Library issues with GCC - libuser32

Jim Marshall jim.marshall@wbemsolutions.com
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:      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