This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] Crosscompiling cygserver fix
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Sat, 29 Jan 2011 01:41:44 -0500
- Subject: Re: [PATCH] Crosscompiling cygserver fix
- References: <001301cbbf3e$4cfda540$e6f8efc0$@verizon.net>
- Reply-to: cygwin-patches at cygwin dot com
On Fri, Jan 28, 2011 at 05:54:20PM -0500, John Foley Junk Mail wrote:
>I've submitted a fix for a problem I came across while trying to build a
>Linux-hosted Cygwin cross compiler. Some of the code in winsup/cygwin relies
>on winsup/cygserver/libcygserver.a, which is currently only compiled on
>Cygwin systems. However, linking cygwin0.dll failed with a host of undefined
>reference errors because LIBSERVER was undefined since I was compiling on a
>Linux system. The attached patch causes libcygserver.a to be compiled
>regardless of the current host.
>
>winsup/ChangeLog:
>
>2011-01-28 Peter Foley <jpfoley2@verizon.net>
>
> * configure.in: Configure winsup/cygserver regardless of cross_host.
> * configure: Regenerate.
>
>winsup/cygwin/ChangeLog:
>
>2011-01-28 Peter Foley <jpfoley2@verizon.net>
>
> * configure.in: Define LIBSERVER regardless of cross_host.
> * configure: Regenerate.
Applied. Thanks for the patch.
cgf