This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] fix config.rpath for cygwin/mingw
- From: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>, gdb-patches at sourceware dot org
- Date: Wed, 20 Jul 2011 15:25:07 -0400
- Subject: Re: [PATCH] fix config.rpath for cygwin/mingw
- References: <1311145448.7796.40.camel@YAAKOV04>
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 <yselkowitz@users.sourceforge.net>
>
> * 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