[Bug 30980] cross compiling with mingw64 is broken

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 28 02:22:30 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30980

François Gouget <fgouget at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fgouget at codeweavers.com

--- Comment #4 from François Gouget <fgouget at codeweavers.com> 2012-07-28 02:22:30 CDT ---
Just in case anyone is interested...

I have built updated mingw-w64-i686-dev and mingw-w64-x86-64-dev
packages for Debian with the fix for bug 30980.

These are the packages one would use to cross-compile Wine to Windows PE
executables, typically to produce 32 and 64 bit Windows Winetest
binaries.

Note that I had to add a couple of patches to get Wine to compile:
* crtdefs.h uses wchar_t but does not define it which was causing
  trouble depending on the order of the includes in the source.
* One of the _mingw.h includes was causing trouble. Replacing it with a
  crtdefs.h include like the others fixed the issue. There is still a
  ton of these so I'm not sure these packages are a full fix. But Wine
  compiles at least.

You'll find the modified packages there:
* http://fgouget.free.fr/tmp/mingw-w64/mingw-w64-i686-dev_2.0.3-2_all.deb
  http://fgouget.free.fr/tmp/mingw-w64/mingw-w64-x86-64-dev_2.0.3-2_all.deb

  Packages to generate 32 and 64 bit PE binaries respectively. The other
  packages in the suite are unmodified so grab them from your usual
  Debian repository.

* http://fgouget.free.fr/tmp/mingw-w64/mingw-w64_2.0.3-2.debian.tar.gz
  http://fgouget.free.fr/tmp/mingw-w64/mingw-w64_2.0.3.orig.tar.gz

  The package source in case you need to rebuild them.

* http://fgouget.free.fr/tmp/mingw-w64/wine1.patch
  http://fgouget.free.fr/tmp/mingw-w64/wine2.patch

  The two extra patches I applied, the first one based on Jacek's r5227
  SVN MinGW commit.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list