Alexandre Julliard | 3a5816f | 1994-12-27 14:11:53 +0000 | [diff] [blame] | 1 | 1. INTRODUCTION |
Alexandre Julliard | 2c25c3e | 1993-06-29 16:33:12 +0000 | [diff] [blame] | 2 | |
Douglas Ridgway | 692389d | 1998-11-22 16:56:44 +0000 | [diff] [blame] | 3 | Wine is a program which allows running Microsoft Windows programs |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 4 | (including DOS, Windows 3.x, Win32, and Win64 executables) on Unix. |
| 5 | It consists of a program loader which loads and executes a Microsoft |
Andreas Mohr | 3d2a38c | 2001-06-29 01:41:03 +0000 | [diff] [blame] | 6 | Windows binary, and a library (called Winelib) that implements Windows |
| 7 | API calls using their Unix or X11 equivalents. The library may also |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 8 | be used for porting Windows code into native Unix executables. |
Alexandre Julliard | 8d24ae6 | 1994-04-05 21:42:43 +0000 | [diff] [blame] | 9 | |
Martin Garton | 89894ff | 2002-03-20 00:59:27 +0000 | [diff] [blame] | 10 | Wine is free software, released under the GNU LGPL; see the file |
| 11 | LICENSE for the details. |
Alexandre Julliard | 1f57929 | 1994-05-25 16:25:21 +0000 | [diff] [blame] | 12 | |
Alexandre Julliard | 4e47403 | 2006-08-23 15:59:14 +0200 | [diff] [blame] | 13 | |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 14 | 2. QUICK START |
Alexandre Julliard | 3a5816f | 1994-12-27 14:11:53 +0000 | [diff] [blame] | 15 | |
Andreas Mohr | 581fc92 | 2000-09-18 01:40:32 +0000 | [diff] [blame] | 16 | Whenever you compile from source, it is recommended to use the Wine |
Andreas Mohr | a0ff2b4 | 2002-02-27 01:30:32 +0000 | [diff] [blame] | 17 | Installer to build and install Wine. From the top-level directory |
| 18 | of the Wine source (which contains this file), run: |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 19 | |
| 20 | ./tools/wineinstall |
| 21 | |
Alexandre Julliard | 4e47403 | 2006-08-23 15:59:14 +0200 | [diff] [blame] | 22 | Run programs as "wine program". For more information and problem |
| 23 | resolution, read the rest of this file, the Wine man page, and |
Dimi Paun | 12f9bb7 | 2005-05-10 13:26:14 +0000 | [diff] [blame] | 24 | especially the wealth of information found at http://www.winehq.org. |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 25 | |
Alexandre Julliard | 4e47403 | 2006-08-23 15:59:14 +0200 | [diff] [blame] | 26 | |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 27 | 3. REQUIREMENTS |
Alexandre Julliard | 401710d | 1993-09-04 10:09:32 +0000 | [diff] [blame] | 28 | |
James Juran | 0ff60a0 | 1999-04-26 14:57:06 +0000 | [diff] [blame] | 29 | To compile and run Wine, you must have one of the following: |
Alexandre Julliard | f41aeca | 1993-09-14 16:47:10 +0000 | [diff] [blame] | 30 | |
Andreas Mohr | c08b948 | 2003-04-04 22:12:21 +0000 | [diff] [blame] | 31 | Linux version 2.0.36 or above |
Gerald Pfeifer | c95c75b | 2009-01-03 19:12:50 +0100 | [diff] [blame] | 32 | FreeBSD 6.3 or later |
Austin English | 1b81ee3 | 2008-05-30 11:44:24 -0500 | [diff] [blame] | 33 | Solaris x86 9 or later |
Andreas Mohr | c08b948 | 2003-04-04 22:12:21 +0000 | [diff] [blame] | 34 | NetBSD-current |
Francois Gouget | bb8e625 | 2006-12-04 19:55:35 +0100 | [diff] [blame] | 35 | Mac OS X 10.4 or later |
Andreas Mohr | c08b948 | 2003-04-04 22:12:21 +0000 | [diff] [blame] | 36 | |
| 37 | As Wine requires kernel-level thread support to run, only the operating |
Gerald Pfeifer | fef243c | 2007-09-16 21:19:48 +0200 | [diff] [blame] | 38 | systems mentioned above are supported. Other operating systems which |
| 39 | support kernel threads may be supported in the future. |
Alexandre Julliard | f41aeca | 1993-09-14 16:47:10 +0000 | [diff] [blame] | 40 | |
Andreas Mohr | c9ec884 | 2001-01-24 19:37:13 +0000 | [diff] [blame] | 41 | Linux info: |
Andreas Mohr | c08b948 | 2003-04-04 22:12:21 +0000 | [diff] [blame] | 42 | While Linux 2.2.x should still work and Linux 2.0.x may still work |
| 43 | (older 2.0.x versions had thread-related crashes), |
Marcus Meissner | 4fe7ee8 | 2006-09-12 22:43:53 +0200 | [diff] [blame] | 44 | it's best to have a current kernel such as 2.4.x or 2.6.x. |
Alexandre Julliard | 6abb89c | 1995-03-02 17:33:47 +0000 | [diff] [blame] | 45 | |
Andreas Mohr | c9ec884 | 2001-01-24 19:37:13 +0000 | [diff] [blame] | 46 | FreeBSD info: |
Austin English | 1b81ee3 | 2008-05-30 11:44:24 -0500 | [diff] [blame] | 47 | Wine will generally not work properly on versions before FreeBSD |
Gerald Pfeifer | c95c75b | 2009-01-03 19:12:50 +0100 | [diff] [blame] | 48 | 6.3 or 7.0, and FreeBSD 6.3 has additional patches available. See |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 49 | http://wiki.freebsd.org/Wine for more information. |
Andreas Mohr | c9ec884 | 2001-01-24 19:37:13 +0000 | [diff] [blame] | 50 | |
| 51 | Solaris info: |
Gerald Pfeifer | d2b2289 | 2001-07-20 17:56:59 +0000 | [diff] [blame] | 52 | You will most likely need to build Wine with the GNU toolchain |
Gerard Patel | 2895e7f | 2001-10-16 21:47:51 +0000 | [diff] [blame] | 53 | (gcc, gas, etc.). Warning : installing gas does *not* ensure that it |
Andreas Mohr | a5589d5 | 2002-06-04 23:09:34 +0000 | [diff] [blame] | 54 | will be used by gcc. Recompiling gcc after installing gas or |
Gerard Patel | 2895e7f | 2001-10-16 21:47:51 +0000 | [diff] [blame] | 55 | symlinking cc, as and ld to the gnu tools is said to be necessary. |
| 56 | |
Bang Jun-Young | 9048c49 | 2001-12-19 18:48:45 +0000 | [diff] [blame] | 57 | NetBSD info: |
| 58 | Make sure you have the USER_LDT, SYSVSHM, SYSVSEM, and SYSVMSG options |
| 59 | turned on in your kernel. |
| 60 | |
Francois Gouget | bb8e625 | 2006-12-04 19:55:35 +0100 | [diff] [blame] | 61 | Mac OS X info: |
Alexandre Julliard | 4e47403 | 2006-08-23 15:59:14 +0200 | [diff] [blame] | 62 | You need Xcode 2.4 or later to build properly on x86. |
Andreas Mohr | c08b948 | 2003-04-04 22:12:21 +0000 | [diff] [blame] | 63 | |
| 64 | |
| 65 | Supported file systems: |
Alexandre Julliard | 6504ee4 | 2008-05-23 12:10:24 +0200 | [diff] [blame] | 66 | Wine should run on most file systems. A few compatibility problems |
| 67 | have also been reported using files accessed through Samba. Also, |
| 68 | NTFS does not provide all the file system features needed by some |
| 69 | applications. Using a native Linux file system such as ext3 is |
| 70 | recommended. |
Andreas Mohr | c9ec884 | 2001-01-24 19:37:13 +0000 | [diff] [blame] | 71 | |
Andreas Mohr | c08b948 | 2003-04-04 22:12:21 +0000 | [diff] [blame] | 72 | Basic requirements: |
| 73 | You need to have the X11 development include files installed |
Gerald Pfeifer | 2d979b6 | 2006-02-28 23:19:19 +0100 | [diff] [blame] | 74 | (called xlib6g-dev in Debian and XFree86-devel in Red Hat). |
Juergen Lock | ca85139 | 1999-11-28 19:48:24 +0000 | [diff] [blame] | 75 | |
Andreas Mohr | c08b948 | 2003-04-04 22:12:21 +0000 | [diff] [blame] | 76 | Of course you also need "make" (most likely GNU make). |
Andreas Mohr | c9ec884 | 2001-01-24 19:37:13 +0000 | [diff] [blame] | 77 | |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 78 | You also need flex version 2.5.33 or later and bison. |
Andreas Mohr | a5589d5 | 2002-06-04 23:09:34 +0000 | [diff] [blame] | 79 | |
Andreas Mohr | c08b948 | 2003-04-04 22:12:21 +0000 | [diff] [blame] | 80 | Optional support libraries: |
Alexandre Julliard | 6504ee4 | 2008-05-23 12:10:24 +0200 | [diff] [blame] | 81 | Configure will display notices when optional libraries are not found |
| 82 | on your system. See http://wiki.winehq.org/Recommended_Packages for |
| 83 | hints about the packages you should install. |
Alexandre Julliard | 4e47403 | 2006-08-23 15:59:14 +0200 | [diff] [blame] | 84 | |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 85 | On 64-bit platforms, if compiling Wine as 32-bit (default), you have |
| 86 | to make sure to install the 32-bit versions of these libraries; see |
| 87 | http://wiki.winehq.org/WineOn64bit for details. If you want a true |
| 88 | 64-bit Wine (or a mixed 32-bit and 64-bit Wine setup), see |
| 89 | http://wiki.winehq.org/Wine64 for details. |
James Juran | 0ff60a0 | 1999-04-26 14:57:06 +0000 | [diff] [blame] | 90 | |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 91 | 4. COMPILATION |
Alexandre Julliard | a69b88b | 1998-03-15 20:29:56 +0000 | [diff] [blame] | 92 | |
Andreas Mohr | c9ec884 | 2001-01-24 19:37:13 +0000 | [diff] [blame] | 93 | In case you chose to not use wineinstall, run the following commands |
| 94 | to build Wine: |
Alexandre Julliard | 401710d | 1993-09-04 10:09:32 +0000 | [diff] [blame] | 95 | |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 96 | ./configure |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 97 | make |
| 98 | |
Andreas Mohr | a5589d5 | 2002-06-04 23:09:34 +0000 | [diff] [blame] | 99 | This will build the program "wine" and numerous support libraries/binaries. |
Alexandre Julliard | a0b2b1d | 1997-11-16 17:38:29 +0000 | [diff] [blame] | 100 | The program "wine" will load and run Windows executables. |
Andreas Mohr | 1af53cb | 2000-12-09 03:15:32 +0000 | [diff] [blame] | 101 | The library "libwine" ("Winelib") can be used to compile and link |
| 102 | Windows source code under Unix. |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 103 | |
Andreas Mohr | 1af53cb | 2000-12-09 03:15:32 +0000 | [diff] [blame] | 104 | To see compile configuration options, do ./configure --help. |
Alexandre Julliard | e2bfa4c | 1996-05-16 18:21:06 +0000 | [diff] [blame] | 105 | |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 106 | 5. SETUP |
Alexandre Julliard | 8d24ae6 | 1994-04-05 21:42:43 +0000 | [diff] [blame] | 107 | |
Alexandre Julliard | 7e56f68 | 1996-01-31 19:02:28 +0000 | [diff] [blame] | 108 | Once Wine has been built correctly, you can do "make install"; this |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 109 | will install the wine executable and libraries, the Wine man page, and |
| 110 | other needed files. |
Alexandre Julliard | 7e56f68 | 1996-01-31 19:02:28 +0000 | [diff] [blame] | 111 | |
Andreas Mohr | de53c48 | 2001-04-09 18:32:16 +0000 | [diff] [blame] | 112 | Don't forget to uninstall any conflicting previous Wine installation |
| 113 | first. Try either "dpkg -r wine" or "rpm -e wine" or "make uninstall" |
| 114 | before installing. |
| 115 | |
Alexandre Julliard | 6504ee4 | 2008-05-23 12:10:24 +0200 | [diff] [blame] | 116 | Once installed, you can run the "winecfg" configuration tool. See the |
| 117 | Support area at http://www.winehq.org/ for configuration hints. |
Andreas Mohr | a0ff2b4 | 2002-02-27 01:30:32 +0000 | [diff] [blame] | 118 | |
Alexandre Julliard | 4e47403 | 2006-08-23 15:59:14 +0200 | [diff] [blame] | 119 | |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 120 | 6. RUNNING PROGRAMS |
Alexandre Julliard | 8d24ae6 | 1994-04-05 21:42:43 +0000 | [diff] [blame] | 121 | |
James Juran | 38a3d26 | 1999-01-01 18:45:52 +0000 | [diff] [blame] | 122 | When invoking Wine, you may specify the entire path to the executable, |
Alexandre Julliard | 8d24ae6 | 1994-04-05 21:42:43 +0000 | [diff] [blame] | 123 | or a filename only. |
Alexandre Julliard | f41aeca | 1993-09-14 16:47:10 +0000 | [diff] [blame] | 124 | |
Austin English | 1b81ee3 | 2008-05-30 11:44:24 -0500 | [diff] [blame] | 125 | For example: to run Notepad: |
Alexandre Julliard | 5f721f8 | 1994-01-04 20:14:34 +0000 | [diff] [blame] | 126 | |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 127 | wine notepad (using the search Path as specified in |
| 128 | wine notepad.exe the registry to locate the file) |
Alexandre Julliard | 5f721f8 | 1994-01-04 20:14:34 +0000 | [diff] [blame] | 129 | |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 130 | wine c:\\windows\\notepad.exe (using DOS filename syntax) |
Alexandre Julliard | 5f721f8 | 1994-01-04 20:14:34 +0000 | [diff] [blame] | 131 | |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 132 | wine ~/.wine/drive_c/windows/notepad.exe (using Unix filename syntax) |
Andreas Mohr | c08b948 | 2003-04-04 22:12:21 +0000 | [diff] [blame] | 133 | |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 134 | wine notepad.exe readme.txt (calling program with parameters) |
Alexandre Julliard | f41aeca | 1993-09-14 16:47:10 +0000 | [diff] [blame] | 135 | |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 136 | Wine is not perfect, so some programs may crash. If that happens you |
| 137 | will get a crash log that you should attach to your report when filing |
| 138 | a bug. |
Alexandre Julliard | 5819953 | 1994-04-21 01:20:00 +0000 | [diff] [blame] | 139 | |
Andreas Mohr | a6d83eb | 2000-12-27 04:02:46 +0000 | [diff] [blame] | 140 | |
Dimi Paun | 12f9bb7 | 2005-05-10 13:26:14 +0000 | [diff] [blame] | 141 | 7. GETTING MORE INFORMATION |
Alexandre Julliard | 8d24ae6 | 1994-04-05 21:42:43 +0000 | [diff] [blame] | 142 | |
Andreas Mohr | 3d2a38c | 2001-06-29 01:41:03 +0000 | [diff] [blame] | 143 | WWW: A great deal of information about Wine is available from WineHQ at |
Dimitrie O. Paun | c023254 | 2003-11-26 03:55:01 +0000 | [diff] [blame] | 144 | http://www.winehq.org/ : various Wine Guides, application database, |
Andreas Mohr | 3d2a38c | 2001-06-29 01:41:03 +0000 | [diff] [blame] | 145 | bug tracking. This is probably the best starting point. |
Andreas Mohr | 8cd9351 | 2000-01-29 21:12:58 +0000 | [diff] [blame] | 146 | |
Dimitrie O. Paun | c023254 | 2003-11-26 03:55:01 +0000 | [diff] [blame] | 147 | FAQ: The Wine FAQ is located at http://www.winehq.org/FAQ |
Alexandre Julliard | 46ea8b3 | 1998-05-03 19:01:20 +0000 | [diff] [blame] | 148 | |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 149 | Wiki: The Wine Wiki is located at http://wiki.winehq.org |
Alexandre Julliard | 46ea8b3 | 1998-05-03 19:01:20 +0000 | [diff] [blame] | 150 | |
Andreas Mohr | 3d2a38c | 2001-06-29 01:41:03 +0000 | [diff] [blame] | 151 | Mailing lists: |
Alexandre Julliard | 4e47403 | 2006-08-23 15:59:14 +0200 | [diff] [blame] | 152 | There are several mailing lists for Wine users and developers; |
| 153 | see http://www.winehq.org/forums for more information. |
| 154 | |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 155 | Bugs: Report bugs to Wine Bugzilla at http://bugs.winehq.org |
| 156 | Please search the bugzilla database to check whether your |
| 157 | problem is already known or fixed before posting a bug report. |
Andreas Mohr | 3d2a38c | 2001-06-29 01:41:03 +0000 | [diff] [blame] | 158 | |
Austin English | 954514e | 2010-07-10 02:50:00 -0500 | [diff] [blame] | 159 | IRC: Online help is available at channel #WineHQ on irc.freenode.net. |
| 160 | |
| 161 | Git: The current Wine development tree is available through Git. |
| 162 | Go to http://www.winehq.org/git for more information. |
| 163 | |
| 164 | If you add something, or fix a bug, please send a patch (preferably |
| 165 | using git-format-patch) to the wine-patches@winehq.org list for |
| 166 | inclusion in the next release. |
Alexandre Julliard | 8d24ae6 | 1994-04-05 21:42:43 +0000 | [diff] [blame] | 167 | |
Alexandre Julliard | 3a5816f | 1994-12-27 14:11:53 +0000 | [diff] [blame] | 168 | -- |
| 169 | Alexandre Julliard |
Dimitrie O. Paun | c023254 | 2003-11-26 03:55:01 +0000 | [diff] [blame] | 170 | julliard@winehq.org |