From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 304 invoked by alias); 20 Jul 2011 19:25:36 -0000 Received: (qmail 32758 invoked by uid 22791); 20 Jul 2011 19:25:35 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from nm6-vm4.bullet.mail.ne1.yahoo.com (HELO nm6-vm4.bullet.mail.ne1.yahoo.com) (98.138.91.166) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 20 Jul 2011 19:25:21 +0000 Received: from [98.138.90.50] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 20 Jul 2011 19:25:20 -0000 Received: from [98.138.226.31] by tm3.bullet.mail.ne1.yahoo.com with NNFMP; 20 Jul 2011 19:25:20 -0000 Received: from [127.0.0.1] by smtp202.mail.ne1.yahoo.com with NNFMP; 20 Jul 2011 19:25:20 -0000 X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Received: from cgf.cx (cgf@108.20.226.5 with login) by smtp202.mail.ne1.yahoo.com with SMTP; 20 Jul 2011 12:25:20 -0700 PDT Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id 62A8413C002; Wed, 20 Jul 2011 15:25:17 -0400 (EDT) Date: Wed, 20 Jul 2011 20:29:00 -0000 From: Christopher Faylor To: "Yaakov (Cygwin/X)" , gdb-patches@sourceware.org Subject: Re: [PATCH] fix config.rpath for cygwin/mingw Message-ID: <20110720192506.GB2455@ednor.casa.cgf.cx> Mail-Followup-To: "Yaakov (Cygwin/X)" , gdb-patches@sourceware.org References: <1311145448.7796.40.camel@YAAKOV04> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1311145448.7796.40.camel@YAAKOV04> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00562.txt.bz2 On Wed, Jul 20, 2011 at 02:04:06AM -0500, Yaakov (Cygwin/X) wrote: >The gettext macros use config.rpath to determine the link library name >of libiconv and libintl (on non-glibc platforms); the import library >suffix is of importance, not the runtime library suffix. On PE >platforms, these differ, and by using the latter in config.rpath, the >gettext macros think shared import libraries aren't available, and >forces linking with the static library instead. > >(FWIW, gettext itself has already been fixed in this regard, but >updating to the latest version of those files is much more invasive.) > >The attached patch fixes linking with the shared import libraries. We >have been using this patch for over a year on i686-pc-cygwin hosted >toolchains (both native- and cross-target). > > >Yaakov >Cygwin Ports > > >2011-07-20 Yaakov Selkowitz > > * config.rpath [cygwin|mingw*|pw32] (shrext): Change to .dll.a, > to match the import library suffix. Looks ok. Do you have a CVS tree checked out which would enable you to check this in? You probably have privileges since gdb overlaps with Cygwin. cgf