X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Jim Marshall Subject: Re: Library issues with GCC - libuser32 Date: Mon, 19 Nov 2007 15:47:28 -0500 Lines: 17 Message-ID: <4741F660.8050202@wbemsolutions.com> References: <1cf9399b0711191222g143869efvdc3e263e9ced29ca AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <1cf9399b0711191222g143869efvdc3e263e9ced29ca@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/