[PATCH] Crosscompiling cygserver fix

John Foley Junk Mail jpfoley2@verizon.net
Fri Jan 28 22:54:00 GMT 2011


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.

Thanks,

Peter Foley

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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: application/octet-stream
Size: 357518 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110128/ae97c06f/attachment.obj>


More information about the Cygwin-patches mailing list