I just got a Raspi 3 B+ and wanted to check whether it has become strong enough to run MAME emulations.
However, I seem to be unable to build it on the Raspi. I know (I once posted it here) that I could compile MAME on a Raspi3 a while ago, and again, I remembered to add swap space on another drive, but when it gets to luaengine, the gcc eats up all memory and sends the Raspi into thrashing hell. I tried it without graphics desktop, let it run over night, but no way.
I tried to install the cross-compile libs, and I set PLATFORM:=arm, even explicitly in the makefile, after the ifeq stuff, but I end up with the x64 binary again.
Are there any simple recipes to cross-compile MAME, in particular for a Raspberry?