Commit | Line | Data |
---|---|---|
3a5816f8 AJ |
1 | 1. INTRODUCTION |
2 | ||
692389d0 DR |
3 | Wine is a program which allows running Microsoft Windows programs |
4 | (including DOS, Windows 3.x and Win32 executables) on Unix. It | |
0ff60a08 | 5 | consists of a program loader which loads and executes a Microsoft |
692389d0 DR |
6 | Windows binary, and a library that implements Windows API calls using |
7 | their Unix or X11 equivalents. The library may also be used for | |
8 | porting Win32 code into native Unix executables. | |
3a5816f8 | 9 | |
692389d0 DR |
10 | Wine is free software, and its license (contained in the file LICENSE) |
11 | is BSD style. Basically, you can do anything with it except claim | |
12 | that you wrote it. | |
3a5816f8 | 13 | |
3a5816f8 | 14 | |
0ff60a08 | 15 | 2. REQUIREMENTS |
401710d7 | 16 | |
0ff60a08 | 17 | To compile and run Wine, you must have one of the following: |
f41aeca9 | 18 | |
9e153184 MM |
19 | Linux version 2.0.36 or above |
20 | FreeBSD-current or FreeBSD 3.0 or later | |
a69b88b2 | 21 | Solaris x86 2.5 or later |
f41aeca9 | 22 | |
0ff60a08 JJ |
23 | Although Linux version 2.0.x will mostly work, certain features |
24 | (specifically LDT sharing) required for properly supporting Win32 | |
25 | threads were not implemented until kernel version 2.2. If you get | |
26 | consistent thread-related crashes, you may want to upgrade to 2.2. | |
27 | ||
6abb89c3 | 28 | You also need to have libXpm installed on your system. The sources for |
0ff60a08 | 29 | it are probably available on the FTP site where you got Wine. They can |
38a3d264 | 30 | also be found on ftp.x.org and all its mirror sites. If you are using |
0ff60a08 JJ |
31 | RedHat, install the xpm and xpm-devel packages. Debian users need |
32 | xpm4.7, xpm4g, and xpm4g-dev 3.4j. | |
33 | ||
34 | On x86 Systems gcc >= 2.7.2 is required. You also need flex version 2.5 | |
35 | or later and yacc. Bison will work as a replacement for yacc. If you are | |
36 | using RedHat, install the flex and bison packages. | |
6abb89c3 | 37 | |
0ff60a08 | 38 | 3. COMPILATION |
a69b88b2 | 39 | |
38a3d264 | 40 | To build Wine, first run "./configure" and then run "make depend; make". |
a0b2b1d0 | 41 | This will build the library "libwine.a" and the program "wine". |
401710d7 | 42 | |
a0b2b1d0 AJ |
43 | The program "wine" will load and run Windows executables. |
44 | The library "libwine.a" can be used to compile and link Windows source | |
45 | code under Unix. If you have an ELF compiler, you can use | |
38a3d264 JJ |
46 | "./configure --enable-dll" to build a shared library instead. To see |
47 | other configuration options, do ./configure --help. | |
e2bfa4c7 | 48 | |
3a5816f8 AJ |
49 | To upgrade to a new release by using a patch file, first cd to the |
50 | top-level directory of the release (the one containing this README | |
51 | file). Then do a "make clean", and patch the release with: | |
52 | ||
53 | gunzip -c patch-file | patch -p1 | |
f41aeca9 | 54 | |
3a5816f8 | 55 | where "patch-file" is the name of the patch file (something like |
ff8331ea AJ |
56 | Wine-yymmdd.diff.gz). You can then re-run "./configure", and then |
57 | run "make depend; make". | |
5f721f81 | 58 | |
3a5816f8 | 59 | |
0ff60a08 | 60 | 4. SETUP |
8d24ae6d | 61 | |
7e56f684 | 62 | Once Wine has been built correctly, you can do "make install"; this |
38a3d264 JJ |
63 | will install the wine executable, the Wine man page, and a few other |
64 | needed files. | |
7e56f684 | 65 | |
8d24ae6d AJ |
66 | Wine requires you to have a file /usr/local/etc/wine.conf (you can |
67 | supply a different name when configuring wine) or a file called .winerc | |
3a5816f8 | 68 | in your home directory. |
8d24ae6d | 69 | |
7e56f684 | 70 | The format of this file is explained in the man page. The file |
8a82991a AM |
71 | wine.ini contains a config file example which has to be adapted |
72 | and copied to one of the two locations mentioned above. | |
73 | ||
74 | See www.winehq.com/config.html for further configuration hints. | |
8d24ae6d AJ |
75 | |
76 | ||
0ff60a08 | 77 | 5. RUNNING PROGRAMS |
8d24ae6d | 78 | |
38a3d264 | 79 | When invoking Wine, you may specify the entire path to the executable, |
8d24ae6d AJ |
80 | or a filename only. |
81 | ||
692389d0 | 82 | For example: to run Solitaire: |
8d24ae6d AJ |
83 | |
84 | wine sol (using the searchpath to locate the file) | |
85 | wine sol.exe | |
5f721f81 | 86 | |
692389d0 | 87 | wine c:\\windows\\sol.exe (using a DOS filename) |
5f721f81 | 88 | |
692389d0 | 89 | wine /usr/windows/sol.exe (using a Unix filename) |
f41aeca9 | 90 | |
3a5816f8 | 91 | Note: the path of the file will also be added to the path when |
5819953c AJ |
92 | a full name is supplied on the commandline. |
93 | ||
692389d0 | 94 | Wine is not yet complete, so some programs may crash. You will be dropped |
38a3d264 JJ |
95 | into a debugger so that you can investigate and fix the problem. For more |
96 | information on how to do this, please read the file documentation/debugging. | |
97 | If you post a bug report, please read the file documentation/bugreports to | |
98 | see what information is required. | |
8d24ae6d AJ |
99 | |
100 | ||
0ff60a08 | 101 | 6. GETTING MORE INFORMATION |
46ea8b3f | 102 | |
587729f7 | 103 | FAQ: The Wine FAQ is located at http://www.winehq.com/faq.html. |
46ea8b3f | 104 | |
38a3d264 | 105 | WWW: A great deal of information about Wine is available from WineHQ at |
692389d0 DR |
106 | http://www.winehq.com/. Untested patches against the current release |
107 | are available on the wine-patches mailing list; see | |
108 | http://www.winehq.com/dev.html#ml for more information. | |
46ea8b3f | 109 | |
0ff60a08 JJ |
110 | HOWTO: A pre-release version of the Wine HOWTO is available at |
111 | http://www.westfalen.de/witch/wine-HOWTO.txt . | |
112 | ||
38a3d264 JJ |
113 | Usenet: Please browse old messages on http://www.dejanews.com/ to check whether |
114 | your problem is already fixed before posting a bug report to the | |
115 | newsgroup. | |
46ea8b3f | 116 | |
38a3d264 JJ |
117 | The best place to get help or to report bugs is the Usenet newsgroup |
118 | comp.emulators.ms-windows.wine. Please read the file | |
119 | documentation/bugreports to see what information should be included | |
120 | in a bug report. | |
46ea8b3f | 121 | |
38a3d264 JJ |
122 | CVS: The current Wine development tree is available through CVS. |
123 | Go to http://www.winehq.com/dev.html for more information. | |
8d24ae6d | 124 | |
ff8331ea | 125 | If you add something, or fix a bug, please send a patch ('diff -u' |
0c126c7c | 126 | format preferred) to julliard@lrc.epfl.ch for inclusion in the next |
ff8331ea | 127 | release. |
8d24ae6d | 128 | |
3a5816f8 AJ |
129 | -- |
130 | Alexandre Julliard | |
ff8331ea | 131 | julliard@lrc.epfl.ch |