Pelimary support for 64bit?

Questions about Wine on macOS.
Locked
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Pelimary support for 64bit?

Post by darklord »

Hello
Since 1.7.36 it has been said that there is now preliminary support for win64 in wine. How preliminary are we talking? Has anyone gotten it to compile and if so how?

I imagine gcc later then 4.4 would be needed. I tried 4.9.2 installed on macports, and I had to tweak my /usr/opt/include/dispatch/object.h (backing up the old one) for OSX 10.10.

changing:

typedef void (^dispatch_block_t)(void);
To
typedef void* dispatch_block_t;

but then i got to a whole bunch of undefined symbols at the linking stage of winegcc in cred.o.

Anyone had better luck?
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Pelimary support for 64bit?

Post by darklord »

I had a revolutionary idea, what if I installed the needed dependencies!
...
So in macports I already ran "port install gcc49"
I then ran
"port configure wine" to install all the dependencies but not install wine itself (I don't need another installation)
"port clean wine"

Then as my configure I ran

Code: Select all

./configure --without-alsa --without-capi --with-cms --with-coreaudio --with-cups --with-curses --with-fontconfig --with-freetype --without-gphoto --with-glu --with-gnutls --without-gsm --without-hal --with-jpeg --without-ldap --without-mpg123 --without-openal --with-opengl --without-oss --with-png --with-pthread --without-sane --with-tiff --without-v4l --with-xcomposite --with-xcursor --with-xinerama --with-xinput --with-xml --with-xrandr --with-xrender --with-xshape --with-xslt --with-xxf86vm --with-x --x-include=/opt/local/include --x-lib=/opt/local/lib --enable-win64 CFLAGS="-I/opt/local/include -L/opt/local/lib" CC=/opt/local/bin/gcc-mp-4.9

This got me all the way to when it was trying to compile dll/ntdll

Code: Select all

opt/local/bin/gcc-mp-4.9 -m64 -c -o relay.o relay.c -I. -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall \
  -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith \
  -Wlogical-op -I/opt/local/include -L/opt/local/lib
{standard input}:1406:suffix or operands invalid for `movq'
{standard input}:1407:suffix or operands invalid for `movq'
{standard input}:1408:suffix or operands invalid for `movq'
{standard input}:1409:suffix or operands invalid for `movq'
make[1]: *** [relay.o] Error 1
this appears to be a section in the code if __x86_64__ is defined
any ideas?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Pelimary support for 64bit?

Post by dimesio »

There was a discussion on wine-devel back in January: https://www.winehq.org/pipermail/wine-d ... 06226.html.
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Pelimary support for 64bit?

Post by darklord »

I see, thanks. I suppose I should just put up a bug, as the wine-dev list isn't the best place to post about such things.
Locked