2 .TH WINE 1 "July 16, 1999" "Version 990704" "Windows On Unix"
4 wine \- run Windows programs on Unix
6 .BI "wine " "[wine_options] " "program1 " "[program2 ... ]"
8 For instructions on passing arguments to Windows programs, please see the
11 section of the man page.
15 loads and runs the given program, where the program is a DOS, Windows 3.x,
16 or Win32 executable (x86 binaries only).
19 currently runs a growing list of applications written for Win3.1,
20 Win95, Win95, and Windows NT. Older, simpler applications work better than
21 newer, more complex ones. A large percentage of the API has been implemented,
22 although there are still several major pieces of work left to do.
25 requires kernel-level threads to run. Currently, only Linux version 2.0
26 or later, FreeBSD-current or FreeBSD 3.0 or later, and Solaris x86
27 version 2.5 or later are supported. Other operating systems which support
28 kernel threads may be supported in the future.
30 Although Linux version 2.0 will mostly work, certain features (specifically
31 LDT sharing) required for properly supporting Win32 threads were not
32 implemented until kernel version 2.2. If you get consistent thread-related
33 crashes, you may want to upgrade to 2.2. Also, some bugs were fixed and
34 additional features were added late in the Linux 2.0.x series, so if you have
35 a very old Linux kernel, you may want to upgrade to at least the latest 2.0.x
38 If you have FreeBSD, make sure you have the USER_LDT,
39 SYSVSHM, SYSVSEM, and SYSVMSG options turned on in your kernel. If you
40 are building Wine on Solaris, you will most likely need to build Wine
41 with the GNU toolchain (gcc, gas, etc.)
44 must be installed. To use Wine's support for multithreaded applications,
45 your X libraries must be reentrant. If you have libc6 (glibc2), or you
46 compiled the X libraries yourself, they were probably compiled with the
47 reentrant option enabled.
50 must be installed. If you're using Red Hat, make sure the following
51 packages are installed: XFree86-devel, xpm, and xpm-devel. If you're
52 using Debian, the packages you need are xpm4g and xpm4g-dev. If you
53 have some other distribution, please send a list of packages required
54 to the address listed in the
57 section to get it included in this man page.
60 2.7.2 or later is required to build
62 Versions earlier than 2.7.2.3 may have problems when certain files are
63 compiled with optimization, often due to problems with header file
67 currently doesn't work with wine. The cause of this problem is unknown.
70 version 2.5 or later and
72 are required. Bison can be used in replace of yacc. If you have Redhat,
73 make sure the bison and flex packages are installed.
77 run "./configure" in the top-level directory of the source, which will
78 detect your specific setup and create the Makefiles. You can run
79 "./configure --help" to see the available configuration options. Then do
80 "make depend && make" to build the
82 executable, and then "make install" to install it. By default,
84 is installed in the /usr/local/ hierarchy (current configuration has it in
85 the @prefix@ hierarchy); you can specify a different path with
86 the --prefix or --sysconfdir options when running
89 For more information, see the
91 file contained in the source distribution.
95 Use the named configuration file rather than the default
96 (@sysconfdir@/wine.conf or ~/.winerc).
99 Enter the debugger before starting application
101 .I -debugmsg [xxx]#name[,[xxx1]#name1][,<+|->relay=yyy1[:yyy2]]
102 Turn debugging messages on or off.
105 xxx is optional and can be one of the following:
111 If xxx is not specified, all debugging messages for the specified
112 channel are turned on. Each channel will print messages about a particular
113 component of Wine. # is required and can be either + or -. Note that
114 there is not a space after the comma between names. yyy are either the
115 name of a whole DLL or a single API entry by Name you either
116 want to include or exclude from the relay listing. These names must be in
117 the case as names used in the relaylisting. You can do the same for snoop.
121 .I -debugmsg warn+dll,+heap
122 will turn on DLL warning messages and all heap messages.
124 .I -debugmsg fixme-all,warn+cursor,+relay
125 will turn off all FIXME messages, turn on cursor warning messages, and turn
126 on all relay messages (API calls).
128 .I -debugmsg -relay=LeaveCriticalSection:EnterCriticalSection
129 will turn on all relay messages except for LeaveCriticalSection and
130 EnterCriticalSection.
132 .I -debugmsg +relay=ADVAPI32
133 will only turn on relay messages into the ADVAPI32 code.
135 The full list of names is: all, accel, advapi, animate, aspi, atom,
136 bitblt, bitmap, caret, cd, cdaudio, class, clipboard, clipping, combo,
137 comboex, comm, commctrl, commdlg, console, crtdll, cursor, datetime, dc,
138 dde, ddeml, ddraw, debug, dialog, dinput, dll, dosfs, dosmem, dplay, driver,
139 dsound, edit, event, exec, file, fixup, font, gdi, global, graphics, header,
140 heap, hook, hotkey, icon, imagehlp, imagelist, imm, int, int10, int16, int17,
141 int19, int21, int31, io, ipaddress, key, keyboard, ldt, listbox, listview,
142 local, mci, mcianim, mciwave, mdi, menu, message, metafile, midi, mmaux, mmio,
143 mmsys, mmtime, module, monthcal, mpr, msacm, msg, nativefont, nonclient, ntdll,
144 ole, pager, palette, pidl, print, process, profile, progress, prop, psapi,
145 psdrv, rebar, reg, region, relay, resource, s, scroll, security, segment,
146 selector, sem, sendmsg, server, shell, shm, snoop, sound, static, statusbar,
147 stress, string, syscolor, system, tab, task, text, thread, thunk, timer,
148 toolbar, toolhelp, tooltips, trackbar, treeview, tweak, uitools, updown, ver,
149 virtual, vxd, win, win16drv, win32, wing, winsock, wnet, x11, x11drv.
151 For more information on debugging messages, see the file
152 .I documentation/debug-msgs
153 in the source distribution.
157 Change the depth to use for multiple-depth screens
160 Use a desktop window of the given geometry, e.g. "640x480"
163 Use the specified X display
165 .I -dll name[,name[,...]]={native|elfdll|so|builtin}[,{n|e|s|b}[,...]][:...]
166 Selects the override type and load order of dll used in the loading process
167 for any dll. The default is set in @sysconfdir@/wine.conf or ~/.winerc. There
168 are currently four types of libraries that can be loaded into a process' address
169 space: Native windows dlls (
171 ), ELF encapsulated windows dlls (
173 ), native ELF libraries (
175 )and wine internal dlls (
177 ). The type may be abbreviated with the first letter of the type (
179 ). Each sequence of orders must be separated by commas.
181 Each dll may have its own specific load order. The load order determines
182 which verion of the dll is attempted to be loaded into the address space. If
183 the first fails, then the next is tried and so on. Different load orders can
184 be specified by separating the entries with a colon. Multiple libraries
185 with the same load order can be separated with commas.
189 .I -dll comdlg32,commdlg=n,b
191 Try to load comdlg32 and commdlg as native windows dll first and try
192 the builtin version if the native load fails.
194 .I -dll comdlg32,commdlg=e,n:shell,shell32=b:comctl32,commctrl=n
196 Try to load comdlg32 and commdlg as elfdll first and try the native version
197 if the elfdll load fails; load shell32/shell always as builtin and
198 comctl32/commctrl always as native.
200 Note: It is wise to keep dll pairs (comdlg32/commdlg, shell/shell32, etc.)
201 having exactly the same load order. This will prevent mismatches at runtime.
202 See also configuration file format below.
205 Read only files may not be opened in write mode (the default is to
206 allow opening read-only files for writing, because most Windows
207 programs always request read-write access, even on CD-ROM drives...).
212 (one of Br, Ca, Cs, Cy, Da, De, En, Eo, Es, Fi, Fr, Ga, Gd, Gv, Hu, It, Ko, Kw, No, Pl, Pt, Ru, Sv, Wa)
215 Create each top-level window as a properly managed X window instead of
216 creating our own "sticky" window.
219 Set the application name
222 Use a private color map
225 Turn on synchronous display mode. Useful for debugging X11 graphics problems.
228 Specify which Windows version WINE should imitate.
229 Possible arguments are: win31, win95, nt351, and nt40.
231 .SH PROGRAM/ARGUMENTS
232 The program name may be specified in DOS format (
234 C:\\WINDOWS\\SOL.EXE)
236 .I /msdos/windows/sol.exe
237 ). The program being executed may be passed arguments by adding them on
238 to the end of the command line invoking
240 (such as: wine "notepad C:\\TEMP\\README.TXT"). Note that
241 the program name and its arguments
243 be passed as a single parameter, which is usually accomplished by placing
244 them together in quotation marks. Multiple applications may be started
245 by placing all of them on the command line (such as: wine notepad clock).
246 .SH ENVIRONMENT VARIABLES
248 makes the environment variables of the shell from which
250 is started accessible to the windows/dos processes started. So use the
251 appropriate syntax for your shell to enter environment variables you need.
252 .SH CONFIGURATION FILE
254 expects a configuration file (
255 .I @sysconfdir@/wine.conf
256 ), which must conform to the format specified in the
258 man page. A sample configuration file is wine.ini in the home directory of the Wine
262 is available thanks to the work of many developers. For a listing
263 of the authors, please see the file
265 in the top-level directory of the source distribution.
268 A status report on many appplications is available from
269 .I http://www.winehq.com/Apps.
270 Please add entries to this list for applications you currently run.
272 Bug reports and successes may be posted to
273 .I comp.emulators.ms-windows.wine.
274 If you want to post a bug report, please read the file
275 .I documentation/bugreports
276 in the Wine source to see what information is necessary.
278 For problems and suggestions with this manpage, please send a note to
279 James Juran <jrj120@psu.edu>.
281 The most recent public version of
283 can be obtained via FTP from metalab.unc.edu or tsx-11.mit.edu in the
284 /pub/linux/ALPHA/Wine/development directory. The releases are in the
285 format 'Wine-yymmdd.tar.gz', or 'Wine-yymmdd.diff.gz' for the diff's
286 from the previous release.
288 The latest snapshot of the code may be obtained via CVS. For information
289 on how to do this, please see
291 http://www.winehq.com/dev.html
295 development headquarters, is at
296 .I http://www.winehq.com/.
297 This website contains a great deal of information about
303 .I comp.emulators.ms-windows.wine.
304 It is used for discussion of various Wine end user aspects/help.
306 For further information about Wine development, you might want to
307 subscribe to the wine "cvs", "devel" and "patches" mailing lists at
308 .I http://www.winehq.com/dev.html#ml.
313 The Wine program loader.
315 .I @prefix@/bin/dosmod
316 The DOS program loader.
318 .I @sysconfdir@/wine.conf
319 Global configuration file for wine.
322 User-specific configuration file
324 .I @prefix@/lib/wine.sym
325 Global symbol table (used in debugger)