FW: [PATCH] Crosscompiling configure fix

Peter Foley pefoley2@verizon.net
Fri Feb 11 21:38:00 GMT 2011


I've submitted a fix for a problem I came across while trying to build a Linux-hosted Cygwin cross compiler. Autoconf fails in the cygwin and cygserver directories because the bootstrap compiler cannot link. This patch works around this by defining GCC_NO_EXECUTABLES, which causes autoconf to skip tests that involve linking.

Note: I submitted a previous patch that included this change, however only part of that patch was applied (the removal of AC_ALLOCA) so I am resubmitting the GCC_NO_EXECUTABLES part of the patch.

Thanks,

Peter Foley

winsup/cygserver/ChangeLog:

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

            * configure.in: define GCC_NO_EXECUTABLES.
            * configure: Regenerate.

winsup/cygwin/ChangeLog:

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

            * configure.in: define GCC_NO_EXECUTABLES.
            * configure: Regenerate.

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


More information about the Cygwin-patches mailing list