X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 19 Nov 2007 16:23:02 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Library issues with GCC - libuser32 Message-ID: <20071119212302.GB21210@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1cf9399b0711191222g143869efvdc3e263e9ced29ca AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1cf9399b0711191222g143869efvdc3e263e9ced29ca@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) 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 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/