Hi, > Works for me for the crossbuild I do with mingw64, so I wonder > what's different about your setup?
It's RHEL-7, with the mingw packages from epel. For some reason just using x86_64-w64-mingw32-ar seems to not be enough. When running "x86_64-w64-mingw32-ranlib capstone/capstone.lib" (as suggested by the error msg) manually, then kick "make" again the build finishes successfully. "x86_64-w64-mingw32-ar --version" says "GNU ar (GNU Binutils) 2.25" cheers, Gerd