Trying this out. http://www.mameworld.info/ubbthread...ew=&sb=5&o=&fpart=1&vc=1

@echo off
SET PROCESSOR_ARCHITECTURE=AMD64
call E:\MAME\dev\buildtools\vendor\env.bat
cd E:\MAME\dev\source
make -j6 PTR64=1 TOOLS=1 SYMBOLS=1 STRIP_SYMBOLS=1
pause

Hope this will fix the issue.

////////////////////////////////

Heh error pop up.

E:/MAME/dev/buildtools/vendor/mingw64/bin/../lib/gcc/x86Compiling src/devices/machine/jvsdev.c...
_64-w64-mingw32/5.2.0/../../../..Compiling src/mame/drivers/inufuku.c...
/x86_64-w64-mingw32/bin/ar.exe: unable to rename '../../../../mingw-gcc/bin/x64/Release/mame_mame/libyunsung.a'; reason: Permission denied
yunsung.make:245: recipe for target '../../../../mingw-gcc/bin/x64/Release/mame_mame/libyunsung.a' failed
make[2]: *** [../../../../mingw-gcc/bin/x64/Release/mame_mame/libyunsung.a] Error 1
makefile:370: recipe for target 'yunsung' failed
make[1]: *** [yunsung] Error 2
make[1]: *** Waiting for unfinished jobs....

I think that is why this came up.

Archiving liboptional.a...
makefile:777: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2


W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB