Apple Silicon compilation

robert lippmann <[email protected]> Sun, 23 Feb 2025 19:55:59 -0500
Newsgroups gmane.comp.emulators.wine.devel
Message-ID <[email protected]>
Hi all,

I tried to update the wiki to document how to compile Wine on Apple Silicon, but I’m not sure if it went through.

Basically, you need to add lld (which pulls in llvm) in addition to the other build dependencies
So:

brew install lld

Then:
PATH=`brew —prefix llvm`/bin:`brew —prefix bison`/bin:$PATH

Then everything compiles.

You probably don’t even need Xcode.  And you probably should have Rosetta2 installed.

I haven’t actually been able to get it to run yet, though…

— Rob