diff --git a/documentation/testing.sgml b/documentation/testing.sgml index 254b3e7545a..dae7d4b9eb0 100644 --- a/documentation/testing.sgml +++ b/documentation/testing.sgml @@ -178,10 +178,8 @@ thread.c: 86 tests executed, 5 marked as todo, 0 failures. Setup of the MinGW cross-compiling environment - The most daunting problem while trying to cross-compile the Wine - tests is the setup of the MinGW cross-compiling environment. Here - are some instructions for different Linux distributions and *BSD - systems to help with this problem. + Here are some instructions to setup MinGW on different Linux + distributions and *BSD. Debian GNU/Linux @@ -197,26 +195,12 @@ thread.c: 86 tests executed, 5 marked as todo, 0 failures. most probably SuSE Linux too, etc. But this list isn't exhaustive; the following steps should probably work on any rpm based system. - - - Download the mingw-binutils and mingw-gcc srpm's from - - http://ftp.redhat.com/pub/contrib/libc6/SRPMS/. - - - Download the mingw srpm from - - http://ftp.redhat.com/pub/contrib/libc6/noarch/SRPMS/. - - - Build the mingw and mingw-binutils rpm's (rpmbuild - --rebuild $SRPM) and install them. - - - After the above step you can build the mingw-gcc rpm too. - Install it. - - + + Download and install the latest rpm's from + MinGW RPM packages. + Alternatively you can follow the instructions on that page and + build your own packages from the source rpm's listed there as well. + *BSD @@ -325,9 +309,12 @@ thread.c: 86 tests executed, 5 marked as todo, 0 failures. With MinGW - This needs to be documented. The best may be to ask on the Wine - development mailing list and update this documentation with the - result of your inquiry. + Wine's build system already has support for building tests with a MinGW + cross-compiler. See the section above called 'Setup of the MinGW + cross-compiling environment' for instructions on how to set things up. + When you have a MinGW environment installed all you need to do is rerun + configure and it should detect the MinGW compiler and tools. Then run + 'make crosstest' to start building the tests.