Questions about Wine on macOS.
teafox
Newbie
Posts: 2 Joined: Fri Apr 15, 2022 3:06 am
Post
by teafox » Fri Apr 15, 2022 5:50 am
Hello,
While building Wine (git) on macOS 12.3, I got an error:
Code: Select all
checking for working -mabi=ms... no
configure: error: The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64.
command: (
from the wiki , but with --enable-win64)
Code: Select all
./configure CC="clang" CXX="clang++" --enable-win64
bison, flex, mingw-w64, pkgconfig and xquartz are all installed with brew
the same error appears without CC="clang" CXX="clang++" too
Gcenx
Level 6
Posts: 709 Joined: Mon Dec 25, 2017 12:11 pm
Post
by Gcenx » Mon Apr 18, 2022 12:02 pm
The provided section isn’t helpful.
Please provide the entire config.log along with that system your running this on. Aka Apple Silicon native or Apple Silicon Rosetta2/Intel mac etc.
teafox
Newbie
Posts: 2 Joined: Fri Apr 15, 2022 3:06 am
Post
by teafox » Thu Apr 21, 2022 10:02 am
Thank you for your help, but it worked now. The command used was:
Code: Select all
./configure CC="clang -m64" CXX="clang++" --enable-win64
(-m64 was added).
DarkShadow44
Level 8
Posts: 1207 Joined: Tue Nov 22, 2016 5:39 pm
Post
by DarkShadow44 » Sat Apr 23, 2022 8:36 pm
That -m64 should not be neccessary, it's also in the wrong place.
Gcenx
Level 6
Posts: 709 Joined: Mon Dec 25, 2017 12:11 pm
Post
by Gcenx » Sun Apr 24, 2022 1:20 pm
DarkShadow44 wrote: ↑ Sat Apr 23, 2022 8:36 pm
That -m64 should not be neccessary, it's also in the wrong place.
If the OP is running on an M1 Mac and hadn’t started configure/make via rosetta2 then passing -m64 would make sense.
While not recommended you can set arch flags directly on CC/CXX env (at least with clang), this could cause link problems but as the OPs SDK contains aarch64/x86_64 slices this might still work.