Library issues with GCC - libuser32

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Mon Nov 19 22:10:00 GMT 2007


On Mon, Nov 19, 2007 at 12:22:24PM -0800, 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?

If you install Cygwin normally the libuser32.a file is installed in a
directory which is automatically searched.

If that was not the case then you couldn't build any programs.

Despite other messages in this thread, I don't see anything here to
indicate that this has anything to do with -mno-cygwin.  gcc finds
-luser32 properly whether you use -mno-cygwin or not.

cgf

--
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