delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/19/15:48:10

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Jim Marshall <jim DOT marshall AT wbemsolutions DOT com>
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019