Port to Mac OS X on Intel

steve zellers zellers at mac.com
Mon Jul 11 16:04:52 CDT 2005


These are changes needed to get Wine ported to Mac OS X on Intel.   
It's been tested on an Apple developer transition system.  Most large  
applications do not work correctly, but many small apps seem to work  
well, including the Windows XP versions of Solitare, Notepad and  
Wordpad.  Note that there is a bug in the Wine TOT in tools/winebuild/ 
import.c, where the incorrect symbol table ("import" vs "table") was  
being used.  That change should apply to all platforms.

ChangeLog entries:

* Make.rules.in, aclocal.m4, configure, configure.ac,
   libs/unicode/.cvsignore, libs/wine/.cvsignore,
   libs/wine/loader.c, libs/wine/mmap.c, libs/wine/port.c,
   loader/.cvsignore, loader/Makefile.in, loader/main.c,
   tools/makedep.c, tools/winebuild/spec32.c,
   tools/winegcc/Makefile.in, tools/winegcc/winegcc.c:
Build fixes for Darwin to build on x86, use two-level namespace,
correctly deal with Mac OS X's linker, dynamic loader, memory
layout, etc.

* dlls/dbghelp/elf_module.c:
Implement elf_enum_modules, elf_fetch_file_info for non-ELF
systems

* dlls/ntdll/.cvsignore, dlls/ntdll/Makefile.in,
   dlls/ntdll/signal_i386.c:
Use Mach exceptions instead of signals on Darwin

* include/winsock.h:
Correctly detect that stdlib.h has been included on Mac OS X 10.4

* include/wine/pthread.h, libs/wine/ldt.c, loader/pthread.c:
Use Darwin/x86 LDT functions to set the TEB selector

* libs/port/gettid.c, server/context_i386.c, server/ptrace.c,
   server/thread.c, server/thread.h:
Use Mach functions instead of ptrace (not fully implemented)

* tools/winebuild/import.c:
     Generate a jump into the correct table

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 48664 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050711/a02f97ff/patch.obj
-------------- next part --------------



More information about the wine-patches mailing list