Hi all,
I'm trying to get the tests to run in windows, but I'm not sure how to build them. Any attempt to do mingw cross compiling fails badly.
Who managed to compile all wine tests for windows, and how is it done?
Cheers, Maarten.
Maarten Lankhorst wrote:
Hi all,
I'm trying to get the tests to run in windows, but I'm not sure how to build them. Any attempt to do mingw cross compiling fails badly.
Who managed to compile all wine tests for windows, and how is it done?
Cheers, Maarten.
Hi Maarten,
I'm doing this all the time. Before I sent a patch I usually have it cross compiled and tested on different flavors of Windows.
I'm running Fedora 8 and I'm using the RPM's provided via http://mirzam.it.vu.nl/mingw/packages.
Mingw has to be very-up-to-date to be able to cross compile all tests. With the latest RPM's I can still cross compile all tests.
Or are you talking about the full winetest.exe?
Hi Maarten,
On Wednesday 13 February 2008 00:51:11 Maarten Lankhorst wrote:
Who managed to compile all wine tests for windows, and how is it done?
Once a day, quisquiliae head-node (attempt to) build winetest.exe (and also the other Wine .exe and .dll files). Some details about this are available here: http://quisquiliae.physics.gla.ac.uk/cross/
The cron script builds winetest.exe and checks whether it has changed since last time. If so, registers the new build. (This is a slight over-simplification.)
There are some notes on how to build a Windows PE cross-compiler available from here: http://www.astro.gla.ac.uk/~paulm/Cross/
There is also a script that automates building the cross-compiler. Wine is written exclusively in C, so by default, only the C frontend is built. The script should support building other language frontends, but this hasn't been tested much.
This page also includes a set of patches for MinGW's Win32API package to allow MinGW to compile winetest.exe. This patch-set is almost exclusively the work of others: Stefan Leichter featuring most prominently (many thanks!)
Hans Leidekker maintains a set of RPMs that should provide identical coverage of Win32API as Stefan, Hans, myself and others share the set of patches. Hans' RPMs are available from:
Cheers,
Paul.