On Feb 10, 2023, at 5:56 AM, Jason Millard jsm174@gmail.com wrote:
Hello.
I’m using parts of Wine (specifically the vbscript engine) while porting Visual Pinball to be cross platform.
I have been using the WIDL utility extensively and it has worked great.
I wanted to keep my patches up to date so I don’t fall behind, however I am having issues compiling wine after version 7.20.
This was my typical compile:
brew install llvm llvm-mingw git clone -b wine-7.20 git://source.winehq.org/git/wine.git git clone git@github.com:vpinball/pinmame.git cd wine export MACOSX_DEPLOYMENT_TARGET="10.14" export LDFLAGS="-Wl,-rpath,/opt/X11/lib" export PATH="$(brew --prefix llvm)/bin:$PATH" export PATH="$(brew --prefix bison)/bin:$PATH" ./configure --without-freetype make -j10 tools/widl/widl -o ../vpinmame_i.h --nostdinc -Ldlls/* -Iinclude -D__WINESRC__ -D_UCRT ../pinmame/src/win32com/VPinMAME.idl
Now with anything past 7.20 I’m getting:
configure: error: PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw.
Hi,
I’m not sure why you would be getting that error, can you post your config.log? Testing on Ventura, I’m able to configure with just bison and llvm from homebrew:
export PATH=/opt/homebrew/opt/llvm/bin:/opt/homebrew/opt/bison/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin ./configure --without-freetype
Also I don’t see an ‘llvm-mingw’ formula, where is that installed from?
Brendan