X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <4741F660.8050202@wbemsolutions.com>
Date: Mon, 19 Nov 2007 15:47:28 -0500
From: Jim Marshall <jim.marshall@wbemsolutions.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
Newsgroups: gmane.os.cygwin
To: cygwin@cygwin.com
Subject: Re: Library issues with GCC - libuser32
References: <1cf9399b0711191222g143869efvdc3e263e9ced29ca@mail.gmail.com>
In-Reply-To: <1cf9399b0711191222g143869efvdc3e263e9ced29ca@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

