Thu Jan 07 05:48:43 2010: Request 53471 was acted upon. Transaction: Ticket created by KMX Queue: Alien-wxWidgets Subject: Win32_MinGW.pm patch to support mingw-w64 toolchain Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: k...@cpan.org Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=53471 >
Hi, please find enclosed patch that makes Alien::wxWidgets compatible with gcc4 toolchains provided by mingw-w64.sf.net project. This toolchain is very likely to be used in the future 64-bit strawberry perl release and it would be nice to support wxWidgets also on this platform. The patch handles basically 2 things: 1) better detection of GNU make - I have added "gmake" and value from $Config{gmake} to searched candidates 2) harcoded DLL name "mingwm10.dll" does not work on new gcc4 as it uses completely different DLLS, unfortunately the DLL name is not fixed (it differs for 32-bit / 64-bit gcc4 compilers), therefore I have decided to implement a sort simple wildcard search. Of course I have tried to be backward compatible. Please consider the enclosed patch to the following files: inc\My\Build\Win32_MinGW.pm inc\My\Build\Base.pm Thanks. -- kmx P.S. mingw-w64 gcc4 toolchains (both 32/64bit) are available here: http://svn.ali.as/cpan/users/kmx/strawberry_gcc-toolchain/
mingw64_compatibility.patch
Description: Binary data