Closed OldieButGoldie closed 2 years ago
- [glide.dll] Found PE image
I don't get this and I think this is the likely culprit.
My MSYS2/mingw-w64-i686 environment is deliberately kept to be absolutely minimal. Perhaps you can try removing the group meta-package mingw-w64-i686-toolchain
and re-install with just mingw-w64-i686-{binutils,gcc}
.
Here's what I have for your reference. Hope it helps.
$ pacman -Qs toolchain | grep i686
local/mingw-w64-i686-binutils 2.38-2 (mingw-w64-i686-toolchain)
local/mingw-w64-i686-crt-git 10.0.0.r14.ga08c638f8-1 (mingw-w64-i686-toolchain)
local/mingw-w64-i686-gcc 12.1.0-1 (mingw-w64-i686-toolchain)
local/mingw-w64-i686-gcc-libs 12.1.0-1 (mingw-w64-i686-toolchain)
local/mingw-w64-i686-headers-git 10.0.0.r14.ga08c638f8-1 (mingw-w64-i686-toolchain)
local/mingw-w64-i686-libwinpthread-git 10.0.0.r14.ga08c638f8-1 (mingw-w64-i686-toolchain)
local/mingw-w64-i686-winpthreads-git 10.0.0.r14.ga08c638f8-1 (mingw-w64-i686-toolchain)
Ohh, there seems to be a problem there, pexports
seems to be deprecated (link), and I had to use a shim script as indicated here.
$ which pexports
/usr/bin/pexports
$ cat /usr/bin/pexports
#!/bin/sh
gendef - "$@"
However, removing every package from i686 toolchain and installing only binutils & gcc leaves me with no gendef
(provided by mingw-w64-i686-tools-git)
I'm guessing the output comes from there, when the makefile reads symbols from the .def file if I understand correctly
I just downloaded pexports 0.47 source code and compiled it for MSYS2/mingw-w64-i686. It was included in the old MSYS/MinGW.org before MSYS2/mingw-w64, and I got used to it rather than adapting to gendef.
Well, that surely did the trick, instead of building yet another thing, I simply downloaded the bin from here, in case there's anyone else with the same problem.
Of course gendef must have changed the output format that made it incompatible with the build script. Thanks for the quick debugging. I myself spent some time looking for the dreaded pexports dependency on msys2 instead of simply look for pexports
Building wrappers is simply not possible with provided instructions. I do not intend to build the OVL/DXE wrapper, just the W98 ones. I have just installed mingw-w64-i686-toolchain and using the MINGW32 environment. QEMU build completed successfully
Info about build system:
Configure log:
But when doing make....
3DFX:
MESA: https://pastebin.com/r1x3gwRA