[patch]: Decouple cygwin building from in-tree mingw/w32api building
Thu Oct 18 07:33:00 GMT 2012
On Wed, 2012-10-17 at 15:32 -0400, Christopher Faylor wrote:
> But, anyway, nevermind. This shouldn't be a requirement for getting
> these changes checked in. I'm more concerned with just nuking the
> now-unneeded mingw script.
Draft patch attached, based partially on Kai's. Yes, it needs a
ChangeLog entry, but it also needs more testing first.
On Cygwin, you need either mingw-gcc-g++ and mingw-zlib, or
mingw64-i686-gcc-g++ with Ports' mingw64-i686-zlib, available here:
On Fedora, you need my cygwin-gcc-c++ plus mingw32-gcc-c++ and
mingw32-zlib-static. Unfortunately F17's mingw32-headers isn't
(aren't?) new enough, so two files in winsup/utils wouldn't compile
until I manually upgraded to
rawhide. F16 (which uses the mingw.org toolchain) should also be okay.
Apply the patch, rm -r winsup/mingw/ winsup/w32api/ winsup/utils/mingw,
run autoconf in winsup/utils, then configure and build. Tested so far
with CVS HEAD on Cygwin and Fedora 17 (with the aforementioned issue)
with our new w32api and the i686-w64-mingw32 toolchain; I have NOT yet
tested the resulting cygwin1.dll.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12718 bytes
Desc: not available
More information about the Cygwin-patches