Commit 4683768e authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

Document building tests with MinGW.

parent e16426b0
...@@ -178,10 +178,8 @@ thread.c: 86 tests executed, 5 marked as todo, 0 failures. ...@@ -178,10 +178,8 @@ thread.c: 86 tests executed, 5 marked as todo, 0 failures.
<sect2> <sect2>
<title>Setup of the MinGW cross-compiling environment</title> <title>Setup of the MinGW cross-compiling environment</title>
<para> <para>
The most daunting problem while trying to cross-compile the Wine Here are some instructions to setup MinGW on different Linux
tests is the setup of the MinGW cross-compiling environment. Here distributions and *BSD.
are some instructions for different Linux distributions and *BSD
systems to help with this problem.
</para> </para>
<sect3> <sect3>
<title>Debian GNU/Linux</title> <title>Debian GNU/Linux</title>
...@@ -197,26 +195,12 @@ thread.c: 86 tests executed, 5 marked as todo, 0 failures. ...@@ -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; most probably SuSE Linux too, etc. But this list isn't exhaustive;
the following steps should probably work on any rpm based system. the following steps should probably work on any rpm based system.
</para> </para>
<itemizedlist> <para>
<listitem><para> Download and install the latest rpm's from
Download the mingw-binutils and mingw-gcc srpm's from <ulink url="http://mirzam.it.vu.nl/mingw/">MinGW RPM packages</>.
<ulink url="http://ftp.redhat.com/pub/contrib/libc6/SRPMS/"> Alternatively you can follow the instructions on that page and
http://ftp.redhat.com/pub/contrib/libc6/SRPMS/</ulink>. build your own packages from the source rpm's listed there as well.
</para></listitem> </para>
<listitem><para>
Download the mingw srpm from
<ulink url="http://ftp.redhat.com/pub/contrib/libc6/noarch/SRPMS/">
http://ftp.redhat.com/pub/contrib/libc6/noarch/SRPMS/</ulink>.
</para></listitem>
<listitem><para>
Build the mingw and mingw-binutils rpm's (<command>rpmbuild
--rebuild $SRPM</>) and install them.
</para></listitem>
<listitem><para>
After the above step you can build the mingw-gcc rpm too.
Install it.
</para></listitem>
</itemizedlist>
</sect3> </sect3>
<sect3> <sect3>
<title>*BSD</title> <title>*BSD</title>
...@@ -325,9 +309,12 @@ thread.c: 86 tests executed, 5 marked as todo, 0 failures. ...@@ -325,9 +309,12 @@ thread.c: 86 tests executed, 5 marked as todo, 0 failures.
<sect2> <sect2>
<title>With MinGW</title> <title>With MinGW</title>
<para> <para>
This needs to be documented. The best may be to ask on the Wine Wine's build system already has support for building tests with a MinGW
development mailing list and update this documentation with the cross-compiler. See the section above called 'Setup of the MinGW
result of your inquiry. 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.
</para> </para>
</sect2> </sect2>
</sect1> </sect1>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment