Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
887b2d97
Commit
887b2d97
authored
Dec 13, 2002
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 13, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document how to cross-compile the tests with MinGW.
parent
09c9fedf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
10 deletions
+22
-10
testing.sgml
documentation/testing.sgml
+22
-10
No files found.
documentation/testing.sgml
View file @
887b2d97
...
@@ -256,18 +256,30 @@ thread.c: 86 tests executed, 5 marked as todo, 0 failures.
...
@@ -256,18 +256,30 @@ thread.c: 86 tests executed, 5 marked as todo, 0 failures.
<sect2>
<sect2>
<title>Cross compiling with MinGW on Linux</title>
<title>Cross compiling with MinGW on Linux</title>
<para>
<para>
Details are still pretty sketchy but it would go something like
Here is how to generate Windows executables for the tests straight
this on a Debian machine:
from the comfort of Linux.
</para>
<itemizedlist>
<listitem><para>
First you need to get the MinGW cross-compiler. On Debian all
you need to do is type <command>apt-get install mingw32</>.
</para></listitem>
<listitem><para>
If you had already run <command>configure</>, then delete
<filename>config.cache</> and re-run <command>configure</>.
You can then run <command>make crosstest</>. To sum up:
<screen>
<screen>
<prompt>$ </>apt-get install mingw32
<prompt>$ </><userinput>rm config.cache</>
<prompt>$ </>cd ~/wine
<prompt>$ </><userinput>./configure</>
<prompt>$ </>./configure
<prompt>$ </><userinput>make crosstest</>
<prompt>$ </>make crosstest
</screen>
</screen>
</para>
</para></listitem>
<para>
<listitem><para>
You should then have Windows executables for the tests.
If you get an error when compiling <filename>winsock.h</> then
</para>
you probably need to apply the following patch:
<ulink url="http://www.winehq.com/hypermail/wine-patches/2002/12/0157.html">http://www.winehq.com/hypermail/wine-patches/2002/12/0157.html</>
</para></listitem>
</itemizedlist>
</sect2>
</sect2>
</sect1>
</sect1>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment