diff --git a/documentation/testing.sgml b/documentation/testing.sgml index 4b30ad54e42..a26877e6b44 100644 --- a/documentation/testing.sgml +++ b/documentation/testing.sgml @@ -256,18 +256,30 @@ thread.c: 86 tests executed, 5 marked as todo, 0 failures. Cross compiling with MinGW on Linux - Details are still pretty sketchy but it would go something like - this on a Debian machine: + Here is how to generate Windows executables for the tests straight + from the comfort of Linux. + + + + First you need to get the MinGW cross-compiler. On Debian all + you need to do is type apt-get install mingw32. + + + If you had already run configure, then delete + config.cache and re-run configure. + You can then run make crosstest. To sum up: -$ apt-get install mingw32 -$ cd ~/wine -$ ./configure -$ make crosstest +$ rm config.cache +$ ./configure +$ make crosstest - - - You should then have Windows executables for the tests. - + + + If you get an error when compiling winsock.h then + you probably need to apply the following patch: + http://www.winehq.com/hypermail/wine-patches/2002/12/0157.html + +