Change wine's dlopen search-patch strategy not using the environment
[wine/hacks.git] / README
blobdb8c956e00784979ccc37ba0693f73c65544b7c6
1 1. INTRODUCTION
3 Wine is a program which allows running Microsoft Windows programs
4 (including DOS, Windows 3.x and Win32 executables) on Unix.  It
5 consists of a program loader which loads and executes an Microsoft
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.
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.
15 2. COMPILATION
17 To compile and run Wine, you must have one of:
19         Linux version 2.0.36 or above
20         FreeBSD-current or FreeBSD 3.0 or later
21         Solaris x86 2.5 or later
23 You also need to have libXpm installed on your system. The sources for
24 it are probably available on the ftp site where you got Wine. They can
25 also be found on ftp.x.org and all its mirror sites. If you are using
26 RedHat, install the xpm and xpm-devel packages.
28 On x86 Systems gcc >= 2.7.2 is required. You also need flex and yacc.
29 Bison will work as a replacement for yacc. If you are using RedHat, 
30 install the flex and bison packages.
32 To build Wine, first run "./configure" and then run "make depend; make".
33 This will build the library "libwine.a" and the program "wine".
35 The program "wine" will load and run Windows executables.
36 The library "libwine.a" can be used to compile and link Windows source
37 code under Unix.  If you have an ELF compiler, you can use
38 "./configure --enable-dll" to build a shared library instead. To see
39 other configuration options, do ./configure --help.
41 To upgrade to a new release by using a patch file, first cd to the
42 top-level directory of the release (the one containing this README
43 file). Then do a "make clean", and patch the release with:
45     gunzip -c patch-file | patch -p1
47 where "patch-file" is the name of the patch file (something like
48 Wine-yymmdd.diff.gz). You can then re-run "./configure", and then
49 run "make depend; make".
52 3. SETUP
54 Once Wine has been built correctly, you can do "make install"; this
55 will install the wine executable, the Wine man page, and a few other
56 needed files.
58 Wine requires you to have a file /usr/local/etc/wine.conf (you can
59 supply a different name when configuring wine) or a file called .winerc
60 in your home directory.
62 The format of this file is explained in the man page. The file
63 wine.ini contains a config file example which has to be adapted
64 and copied to one of the two locations mentioned above.
66 See www.winehq.com/config.html for further configuration hints.
69 4. RUNNING PROGRAMS
71 When invoking Wine, you may specify the entire path to the executable,
72 or a filename only.
74 For example: to run Solitaire:
76         wine sol                   (using the searchpath to locate the file)
77         wine sol.exe
79         wine c:\\windows\\sol.exe  (using a DOS filename)
81         wine /usr/windows/sol.exe  (using a Unix filename)
83 Note: the path of the file will also be added to the path when
84       a full name is supplied on the commandline.
86 Wine is not yet complete, so some programs may crash. You will be dropped
87 into a debugger so that you can investigate and fix the problem. For more
88 information on how to do this, please read the file documentation/debugging.
89 If you post a bug report, please read the file documentation/bugreports to
90 see what information is required.
93 5. GETTING MORE INFORMATION
95 FAQ:    The Wine FAQ is located at http://www.winehq.com/faq.html.
97 WWW:    A great deal of information about Wine is available from WineHQ at
98         http://www.winehq.com/. Untested patches against the current release
99         are available on the wine-patches mailing list; see 
100         http://www.winehq.com/dev.html#ml for more information.
102 Usenet: Please browse old messages on http://www.dejanews.com/ to check whether 
103         your problem is already fixed before posting a bug report to the 
104         newsgroup. 
106         The best place to get help or to report bugs is the Usenet newsgroup
107         comp.emulators.ms-windows.wine. Please read the file 
108         documentation/bugreports to see what information should be included 
109         in a bug report.
111 CVS:    The current Wine development tree is available through CVS.
112         Go to http://www.winehq.com/dev.html for more information.
114 If you add something, or fix a bug, please send a patch ('diff -u'
115 format preferred) to julliard@lrc.epfl.ch for inclusion in the next
116 release.
119 Alexandre Julliard
120 julliard@lrc.epfl.ch