[ scummvm-Patches-2905821 ] Patch to 1.0.0 configure script to support Cygwin

SourceForge.net noreply at sourceforge.net
Mon Nov 30 04:19:51 CET 2009


Patches item #2905821, was opened at 2009-11-29 21:19
Message generated for change (Tracker Item Submitted) made by ewelsh42
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2905821&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Eric A. Welsh (ewelsh42)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch to 1.0.0 configure script to support Cygwin

Initial Comment:
I noticed that Cygwin support has been dropped from 1.0.0.  I have attached a patch to the configure script to resupport it.  Cygwin cross-compiling to MingW is pretty much just like MingW support, so I just copy/pasted the MingW portions and added the appropriate cygwin checks back in.  The only things I added versus standard MingW support were the -mno-cygwin flags to tell it to compile against the MingW runtime (probably in more places than I needed, to just to be safe) and -I and -L flags for /usr/local, since standard Cygwin gcc usually ignores /usr/local when compiling.

This patch works fine for Cygwin, provided that the MingW development support has been installed (which, although not default, is a standard install option).  Perhaps the new warning message in the configure script could be additionally changed to mention this?  I do not know why Cygwin support was dropped, but I would like to recommend adding it back in, given that it is only a fairly minor extention to the existing MingW support.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2905821&group_id=37116




More information about the Scummvm-tracker mailing list