This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Crosscompiling cygserver fix


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.


Attachment: cross.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]