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]

Re: Library issues with GCC - libuser32


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]