blob: 8a7844353634c57cc1149055aa77c1c4796ec80a [file] [log] [blame]
Alexandre Julliardc6c09441997-01-12 18:32:19 +00001 Running & Compiling WINE in OS/2
2
Alexandre Julliardf0cbfa01997-02-15 14:29:56 +00003If you want to help for the port of WINE to OS/2,
4send me a message at krynos@clic.net
5I currently don't want beta testers. It must work before we can test it.
6
Alexandre Julliardc6c09441997-01-12 18:32:19 +00007Here is what you need to (try to) compile Wine for OS/2:
8EMX 0.9c (fix 2)
9XFree86 3.2 OS/2 (with development libraries)
10bash, gnu make, grep, tar, bison, flex
11sed (a working copy of)
Alexandre Julliard01d63461997-01-20 19:43:45 +000012xpm
Alexandre Julliardc6c09441997-01-12 18:32:19 +000013diff and patch are recommended
Alexandre Julliardf0cbfa01997-02-15 14:29:56 +000014Lots of disk space (about 40-50 megs after EMX and XFree installed)
Alexandre Julliardc6c09441997-01-12 18:32:19 +000015
16To compile:
Alexandre Julliard01d63461997-01-20 19:43:45 +000017sh
Alexandre Julliardc6c09441997-01-12 18:32:19 +000018tools/make_os2.sh
19make depend
Alexandre Julliardf0cbfa01997-02-15 14:29:56 +000020make
21emxbind wine
Alexandre Julliardc6c09441997-01-12 18:32:19 +000022
23Currently:
24- configure and make depend work...
Alexandre Julliardf0cbfa01997-02-15 14:29:56 +000025- make compiles (with a modified Linux mman.h), but doesn't link.
Alexandre Julliard01d63461997-01-20 19:43:45 +000026- signal handling is horrible... (if any)
Alexandre Julliardf0cbfa01997-02-15 14:29:56 +000027- EMX doesn't support mmap (and related), SysV IPC and stafs()
28- XFree86/OS2 3.2 doesn't support XShmQueryExtension() and XShmPixmapFormat()
29 due to the same lack in EMX...
Alexandre Julliardc6c09441997-01-12 18:32:19 +000030
31What needs to be redone:
Alexandre Julliardf0cbfa01997-02-15 14:29:56 +000032- LDT (using DosAllocSeg in memory/ldt.c) *
33- implement mmap() and SysV IPC in EMX *
Alexandre Julliard01d63461997-01-20 19:43:45 +000034- File functions,
35- I/O access (do it!),
36- Communication (modem),
Zygo Blaxellfa5fe421999-01-23 14:02:08 +000037- Interrupt (if int unknown, call current RealMode one...),
Alexandre Julliard01d63461997-01-20 19:43:45 +000038- verify that everything is thread safe (how does Win95/NT handle multi-thread?),
39- move X functions in some files (and make a wrapper, to use PM instead latter),
Alexandre Julliard01d63461997-01-20 19:43:45 +000040- return right CPU type,
41- make winsock work
Alexandre Julliardf0cbfa01997-02-15 14:29:56 +000042* Top priority
Alexandre Julliardc6c09441997-01-12 18:32:19 +000043
44The good things:
45- OS/2 have DOS interrupts
46- OS/2 have I/O port access
47- OS/2 have multi-thread
48- Merlin have Open32 (to be used later...)
49
50Robert Pouliot <krynos@clic.net>
51January 9, 1997
Alexandre Julliard01d63461997-01-20 19:43:45 +000052