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

Charles Davis cdavis at mymail.mines.edu
Thu Aug 19 17:10:32 CDT 2010

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][url][/url]
>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.


More information about the wine-users mailing list