libport: Add a replacement implementation for strnlen.
[wine.git] / README
blob9761f6670348f594f67318ff202d9ae6340a25eb
1 1. INTRODUCTION
3 Wine is a program which allows running Microsoft Windows programs
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
6 Windows binary, and a library (called Winelib) that implements Windows
7 API calls using their Unix, X11 or Mac equivalents.  The library may also
8 be used for porting Windows code into native Unix executables.
10 Wine is free software, released under the GNU LGPL; see the file
11 LICENSE for the details.
14 2. QUICK START
16 From the top-level directory of the Wine source (which contains this file),
17 run:
19 ./configure
20 make
22 Then either install Wine:
24 make install
26 Or run Wine directly from the build directory:
28 ./wine notepad
30 Run programs as "wine program".  For more information and problem
31 resolution, read the rest of this file, the Wine man page, and
32 especially the wealth of information found at https://www.winehq.org.
35 3. REQUIREMENTS
37 To compile and run Wine, you must have one of the following:
39   Linux version 2.0.36 or later
40   FreeBSD 8.0 or later
41   Solaris x86 9 or later
42   NetBSD-current
43   Mac OS X 10.5 or later
45 As Wine requires kernel-level thread support to run, only the operating
46 systems mentioned above are supported.  Other operating systems which
47 support kernel threads may be supported in the future.
49 FreeBSD info:
50   Wine will generally not work properly on versions before FreeBSD 8.0.
51   See https://wiki.freebsd.org/Wine for more information.
53 Solaris info:
54   You will most likely need to build Wine with the GNU toolchain
55   (gcc, gas, etc.). Warning : installing gas does *not* ensure that it
56   will be used by gcc. Recompiling gcc after installing gas or
57   symlinking cc, as and ld to the gnu tools is said to be necessary.
59 NetBSD info:
60   Make sure you have the USER_LDT, SYSVSHM, SYSVSEM, and SYSVMSG options
61   turned on in your kernel.
63 Mac OS X info:
64   You need Xcode 2.4 or later to build properly on x86.
65   The Mac driver requires OS X 10.6 or later and won't be built on 10.5.
68 Supported file systems:
69   Wine should run on most file systems. A few compatibility problems
70   have also been reported using files accessed through Samba. Also,
71   NTFS does not provide all the file system features needed by some
72   applications.  Using a native Unix file system is recommended.
74 Basic requirements:
75   You need to have the X11 development include files installed
76   (called xlib6g-dev in Debian and XFree86-devel in Red Hat).
78   Of course you also need "make" (most likely GNU make).
80   You also need flex version 2.5.33 or later and bison.
82 Optional support libraries:
83   Configure will display notices when optional libraries are not found
84   on your system. See https://wiki.winehq.org/Recommended_Packages for
85   hints about the packages you should install. On 64-bit platforms,
86   you have to make sure to install the 32-bit versions of these
87   libraries.
90 4. COMPILATION
92 To build Wine, do:
94 ./configure
95 make
97 This will build the program "wine" and numerous support libraries/binaries.
98 The program "wine" will load and run Windows executables.
99 The library "libwine" ("Winelib") can be used to compile and link
100 Windows source code under Unix.
102 To see compile configuration options, do ./configure --help.
104 For more information, see https://wiki.winehq.org/Building_Wine
107 5. SETUP
109 Once Wine has been built correctly, you can do "make install"; this
110 will install the wine executable and libraries, the Wine man page, and
111 other needed files.
113 Don't forget to uninstall any conflicting previous Wine installation
114 first.  Try either "dpkg -r wine" or "rpm -e wine" or "make uninstall"
115 before installing.
117 Once installed, you can run the "winecfg" configuration tool. See the
118 Support area at https://www.winehq.org/ for configuration hints.
121 6. RUNNING PROGRAMS
123 When invoking Wine, you may specify the entire path to the executable,
124 or a filename only.
126 For example: to run Notepad:
128     wine notepad            (using the search Path as specified in
129     wine notepad.exe         the registry to locate the file)
131     wine c:\\windows\\notepad.exe      (using DOS filename syntax)
133     wine ~/.wine/drive_c/windows/notepad.exe  (using Unix filename syntax)
135     wine notepad.exe readme.txt          (calling program with parameters)
137 Wine is not perfect, so some programs may crash. If that happens you
138 will get a crash log that you should attach to your report when filing
139 a bug.
142 7. GETTING MORE INFORMATION
144 WWW:    A great deal of information about Wine is available from WineHQ at
145         https://www.winehq.org/ : various Wine Guides, application database,
146         bug tracking. This is probably the best starting point.
148 FAQ:    The Wine FAQ is located at https://www.winehq.org/FAQ
150 Wiki:   The Wine Wiki is located at https://wiki.winehq.org
152 Mailing lists:
153         There are several mailing lists for Wine users and developers;
154         see https://www.winehq.org/forums for more information.
156 Bugs:   Report bugs to Wine Bugzilla at https://bugs.winehq.org
157         Please search the bugzilla database to check whether your
158         problem is already known or fixed before posting a bug report.
160 IRC:    Online help is available at channel #WineHQ on irc.freenode.net.
162 Git:    The current Wine development tree is available through Git.
163         Go to https://www.winehq.org/git for more information.
165 If you add something, or fix a bug, please send a patch (preferably
166 using git-format-patch) to the wine-devel@winehq.org list for
167 inclusion in the next release.
170 Alexandre Julliard
171 julliard@winehq.org