1 <chapter id=
"compiling">
2 <title>Compiling the Wine Source
</title>
5 In case you downloaded Wine source code files, this chapter will
6 tell you how to compile it into binary files before installing them.
7 Otherwise, please proceed directly to the
<link
8 linkend=
"installing">Installation chapter
</link> to install the
12 <sect1 id=
"compiling-wine">
13 <title>Compiling Wine
</title>
16 <title>Commands
</title>
18 To compile and install Wine, run the following commands:
25 Please note that the last command (
<command>make install
</command>)
32 <title>Requirements
</title>
34 For an up-to-date list of software requirements for compiling
35 Wine and instructions how to actually do it, please see the
<ulink
36 url=
"http://www.winehq.org/source/README">README
</ulink> file,
37 which is also available in the main directory of a Wine source
43 <title>Space required
</title>
45 You also need about
400 MB of available disk space for compilation.
46 The compiled libwine.so binary takes around
5 MB of disk space,
47 which can be reduced to about
1 MB by stripping ('strip wine').
48 Stripping is not recommended, however, as you can't submit
49 proper crash reports with a stripped binary.
54 <title>Common problems
</title>
56 If you get a repeatable sig11 compiling shellord.c, thunk.c
57 or other files, try compiling just that file without optimization
58 (removing the -Ox option from the GCC command in the
59 corresponding Makefile).
65 <!-- Keep this comment at the end of the file
68 sgml-parent-document:("wine-user.sgml" "set" "book" "part" "chapter" "")