https://bugs.winehq.org/show_bug.cgi?id=38380
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #7 from Sergey Isakov isakov-sl@bk.ru --- I used Clang to compile Wine64 under OSX. winemac.drv compiled as well. No need to patch registers. I only have to change --- diff --git a/include/msvcrt/crtdefs.h b/include/msvcrt/crtdefs.h index f2600ad..67a42cd 100644 --- a/include/msvcrt/crtdefs.h +++ b/include/msvcrt/crtdefs.h @@ -77,10 +77,17 @@
#ifndef __ms_va_list # if defined(__x86_64__) && defined (__GNUC__) -# define __ms_va_list __builtin_ms_va_list -# define __ms_va_start(list,arg) __builtin_ms_va_start(list,arg) -# define __ms_va_end(list) __builtin_ms_va_end(list) -# define __ms_va_copy(dest,src) __builtin_ms_va_copy(dest,src) +# if defined(__APPLE__) +# define __ms_va_list __builtin_va_list +# define __ms_va_start(list,arg) __builtin_va_start(list,arg) +# define __ms_va_end(list) __builtin_va_end(list) +# define __ms_va_copy(dest,src) __builtin_va_copy(dest,src) +# else +# define __ms_va_list __builtin_ms_va_list +# define __ms_va_start(list,arg) __builtin_ms_va_start(list,arg) +# define __ms_va_end(list) __builtin_ms_va_end(list) +# define __ms_va_copy(dest,src) __builtin_ms_va_copy(dest,src) +# endif # else # define __ms_va_list va_list # define __ms_va_start(list,arg) va_start(list,arg) --- and same in include/windef.h include/wine/test.h configure.ac
I follow WIKI to WoW64 installation and got final result. But something else is wrong. The wine64 crashes with most applications.