How to compile 64-bit Wine 1.3.0 under Mac OS X 10.6.4

Questions about Wine on macOS.
Locked
penyuan
Level 2
Level 2
Posts: 10
Joined: Thu Aug 19, 2010 8:29 am

How to compile 64-bit Wine 1.3.0 under Mac OS X 10.6.4

Post by penyuan »

Hello,

Sorry if this has been addressed elsewhere, if so please let me know where!

I'd like to compile 64-bit Wine 1.3.0 via GCC 4.5.1 (I use GCC 4.5.1 according to the instructions here: http://wiki.winehq.org/Wine64) on my Mac running Mac OS X 10.6.4 with a goal of taking advantage of the 8.0 GB of RAM I've got.

I set CFLAGS="-march=native -m64", CXXFLAGS="-march=native -m64", and ./configure --enable-win64.

During make, I get the following error:

acledit.3BX36l.s:225:Unknown pseudo-op: .cfi_startproc
acledit.3BX36l.s:227:Unknown pseudo-op: .cfi_adjust_cfa_offset
acledit.3BX36l.s:227:Rest of line ignored. 1st junk character valued 52 (4).
acledit.3BX36l.s:237:Unknown pseudo-op: .cfi_adjust_cfa_offset
acledit.3BX36l.s:237:Rest of line ignored. 1st junk character valued 45 (-).
acledit.3BX36l.s:239:Unknown pseudo-op: .cfi_endproc
acledit.3BX36l.s:242:Unknown pseudo-op: .cfi_startproc
acledit.3BX36l.s:244:Unknown pseudo-op: .cfi_adjust_cfa_offset
acledit.3BX36l.s:244:Rest of line ignored. 1st junk character valued 52 (4).
acledit.3BX36l.s:254:Unknown pseudo-op: .cfi_adjust_cfa_offset
acledit.3BX36l.s:254:Rest of line ignored. 1st junk character valued 45 (-).
acledit.3BX36l.s:256:Unknown pseudo-op: .cfi_endproc
winebuild: /usr/bin/as -arch x86_64 failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
make[1]: *** [acledit.dll.so] Error 2
make: *** [dlls/acledit] Error 2

What does this error mean? Is there way around it? If someone got Wine64 to compile and work on a Mac please teach me how!

Thank you very much.

P.S. The reason why I'd like Wine64 is because I want to try to run Matlab with more available RAM. According to Matlab's website, running 32-bit Matlab in a 64-bit system gives Matlab >4 GB memory. But if you run it in a 32-bit system Matlab only gets <=2 GB memory.[/code][url][/url]
Charles Davis

How to compile 64-bit Wine 1.3.0 under Mac OS X 10.6.4

Post by Charles Davis »

On 8/19/10 2:11 PM, penyuan wrote:
Hello,

Sorry if this has been addressed elsewhere, if so please let me know where!

I'd like to compile 64-bit Wine 1.3.0 via GCC 4.5.1 (I use GCC 4.5.1 according to the instructions here: http://wiki.winehq.org/Wine64) on my Mac running Mac OS X 10.6.4 with a goal of taking advantage of the 8.0 GB of RAM I've got.

I set CFLAGS="-march=native -m64", CXXFLAGS="-march=native -m64", and ./configure --enable-win64.

During make, I get the following error:

acledit.3BX36l.s:225:Unknown pseudo-op: .cfi_startproc
acledit.3BX36l.s:227:Unknown pseudo-op: .cfi_adjust_cfa_offset
acledit.3BX36l.s:227:Rest of line ignored. 1st junk character valued 52 (4).
acledit.3BX36l.s:237:Unknown pseudo-op: .cfi_adjust_cfa_offset
acledit.3BX36l.s:237:Rest of line ignored. 1st junk character valued 45 (-).
acledit.3BX36l.s:239:Unknown pseudo-op: .cfi_endproc
acledit.3BX36l.s:242:Unknown pseudo-op: .cfi_startproc
acledit.3BX36l.s:244:Unknown pseudo-op: .cfi_adjust_cfa_offset
acledit.3BX36l.s:244:Rest of line ignored. 1st junk character valued 52 (4).
acledit.3BX36l.s:254:Unknown pseudo-op: .cfi_adjust_cfa_offset
acledit.3BX36l.s:254:Rest of line ignored. 1st junk character valued 45 (-).
acledit.3BX36l.s:256:Unknown pseudo-op: .cfi_endproc
winebuild: /usr/bin/as -arch x86_64 failed with status 256
Wine uses some assembler directives that the Mac OS X assembler doesn't
understand. Until this is fixed, you won't be able to build Wine 64-bit
on Mac OS X.

In fact, even if you could get it to build, it won't run, because most
of the stuff needed to support a 64-bit Wine isn't implemented on Mac OS
X yet.
P.S. The reason why I'd like Wine64 is because I want to try to run Matlab with more available RAM. According to Matlab's website, running 32-bit Matlab in a 64-bit system gives Matlab >4 GB memory. But if you run it in a 32-bit system Matlab only gets <=2 GB memory.[/code]
4 GB support in 32-bit apps needs "Address Windowing Extensions", which
AFAIK aren't implemented yet on Wine, even under Linux. You may as well
run 64-bit Matlab.

Chip
penyuan
Level 2
Level 2
Posts: 10
Joined: Thu Aug 19, 2010 8:29 am

Post by penyuan »

I see! What are some places where I can keep an eye on to see when "Address Windowing Extensions" is implemented in Wine, and when Mac OS is updated to support the assembler directives?

THANK YOU for the information! This would save me a lot of time trying to get 64-bit to work in Mac OS X.
James McKenzie

How to compile 64-bit Wine 1.3.0 under Mac OS X 10.6.4

Post by James McKenzie »

penyuan wrote:
I see! What are some places where I can keep an eye on to see when "Address Windowing Extensions" is implemented in Wine, and when Mac OS is updated to support the assembler directives?
File a bug report asking for an enhancement or join an already existing
one. This will keep you up to date with progress or the lack of it.

Also, you have been mis-informed on the 'goodness' of 64 bitness. The
ability to support >4GB programs may or may not work with MacOSX/Wine.
MacOSX has to first support > 4GB programs in 64 bit space and then Wine
has also to do this. Of course if you are speaking about program DATA,
that is a different matter entirely. Outlook 2007 (as a 32 bit program)
has the ability to address > 2GB data in the postoffice file format.

James McKenzie
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

ummm... why would you run Windows Matlab in Wine on mac OS X instead of running the native Mac OS X version of Matlab?
Charles Davis

How to compile 64-bit Wine 1.3.0 under Mac OS X 10.6.4

Post by Charles Davis »

On 8/20/10 1:26 AM, doh123 wrote:
ummm... why would you run Windows Matlab in Wine on mac OS X instead of running the native Mac OS X version of Matlab?
Probably because he has a license to run the Windows version but not the
Mac version.

Chip
Locked