2000-08-08 03:24:00 +02:00
|
|
|
<chapter id="compiling">
|
2003-04-01 05:26:13 +02:00
|
|
|
<title>Compiling the Wine Source</title>
|
2002-12-17 05:15:20 +01:00
|
|
|
|
2003-04-01 05:26:13 +02:00
|
|
|
<para>
|
|
|
|
In case you downloaded Wine source code files, this chapter will
|
|
|
|
tell you how to compile it into binary files before installing them.
|
|
|
|
Otherwise, please proceed directly to the <link
|
|
|
|
linkend="installing">Installation chapter</link> to install the
|
|
|
|
binary Wine files.
|
|
|
|
</para>
|
2000-12-13 22:52:37 +01:00
|
|
|
|
|
|
|
<sect1 id="compiling-wine">
|
|
|
|
<title>Compiling Wine</title>
|
|
|
|
|
2005-01-04 12:53:38 +01:00
|
|
|
<sect2>
|
|
|
|
<title>Commands</title>
|
|
|
|
<para>
|
|
|
|
To compile and install Wine, run the following commands:
|
|
|
|
<screen>
|
|
|
|
./configure
|
|
|
|
make depend
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
</screen>
|
|
|
|
Please note that the last command (<command>make install</command>)
|
|
|
|
must be run as root.
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
2000-12-13 22:52:37 +01:00
|
|
|
<sect2>
|
2003-04-01 05:26:13 +02:00
|
|
|
<title>Requirements</title>
|
2000-12-13 22:52:37 +01:00
|
|
|
<para>
|
2003-04-01 05:26:13 +02:00
|
|
|
For an up-to-date list of software requirements for compiling
|
|
|
|
Wine and instructions how to actually do it, please see the <ulink
|
|
|
|
url="http://www.winehq.org/source/README">README</ulink> file,
|
|
|
|
which is also available in the main directory of a Wine source
|
|
|
|
code tree.
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Space required</title>
|
|
|
|
<para>
|
2003-04-01 05:26:13 +02:00
|
|
|
You also need about 400 MB of available disk space for compilation.
|
2000-12-13 22:52:37 +01:00
|
|
|
The compiled libwine.so binary takes around 5 MB of disk space,
|
|
|
|
which can be reduced to about 1 MB by stripping ('strip wine').
|
|
|
|
Stripping is not recommended, however, as you can't submit
|
2003-03-31 03:34:37 +02:00
|
|
|
proper crash reports with a stripped binary.
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Common problems</title>
|
|
|
|
<para>
|
|
|
|
If you get a repeatable sig11 compiling shellord.c, thunk.c
|
2003-04-01 05:26:13 +02:00
|
|
|
or other files, try compiling just that file without optimization
|
|
|
|
(removing the -Ox option from the GCC command in the
|
|
|
|
corresponding Makefile).
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
2000-08-08 03:24:00 +02:00
|
|
|
</chapter>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
2003-04-19 04:50:57 +02:00
|
|
|
sgml-parent-document:("wine-user.sgml" "set" "book" "part" "chapter" "")
|
2000-08-08 03:24:00 +02:00
|
|
|
End:
|
|
|
|
-->
|