[PATCH] Crosscompiling configure fix

Peter Foley pefoley2@verizon.net
Sat Feb 5 21:35:00 GMT 2011


I've submitted a fix for a problem I came across while trying to build a Linux-hosted Cygwin cross compiler. While bootstrapping Cygwin the autoconf scripts in winsup/cygwin and winsup/cygserver fail because the bootstrap compiler is missing some of the files needed to link a Cygwin executable. Because the source for some of the needed files is in the winsup directory, this creates a curricular dependency. The attached patch lets autoconf complete successfully by not running the tests that require linking if Cygwin is being crosscompiled.

Thanks,

Peter Foley

winsup/cygserver/ChangeLog:

2011-02-5 Peter Foley <pefoley2@verizon.net>

	* configure.in: Skip tests that require linking if cross compiling.
	* configure: Regenerate.

winsup/cygwin/ChangeLog:

2011-02-5 Peter Foley <pefoley2@verizon.net>

	* configure.in: Skip tests that require linking if cross compiling.
	* configure: Regenerate.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: application/octet-stream
Size: 289315 bytes
Desc: cross.patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110205/0b87be41/attachment.obj>


More information about the Cygwin-patches mailing list