Hello,

we have just discovered that mame is not building on linux arm target due to use of -m32 flag:
Quote:
g++ -MMD -MP -DNDEBUG -DCRLF=2 -DLSB_FIRST -DUSE_SYSTEM_JPEGLIB -DUSE_SYSTEM_PORTMIDI -DUSE_SYSTEM_SQLITE -DMAME_NOASM -DLUA_COMPAT_APIINTCASTS -I../../../../../src/osd -I../../../../../src/emu -I../../../../../src/lib -I../../../../../src/lib/util -I../../../../../3rdparty -g -m32 --pipe -g2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wno-deprecated-declarations -O2 -fno-strict-aliasing -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-narrowing -Wno-attributes -Wno-array-bounds -D__USE_MINGW_ANSI_STDIO=1 -m32 -DINLINE="static inline" -x c++ -std=gnu++98 -Woverloaded-virtual -o "../../../../linux_gcc/obj/x32/Release/src/lib/formats/2d_dsk.o" -MF ../../../../linux_gcc/obj/x32/Release/src/lib/formats/2d_dsk.d -c "../../../../../src/lib/formats/2d_dsk.c"
Compiling src/lib/util/avhuff.c...
g++: error: unrecognized command line option '-m32'

I have tried to investigate but it looks like some fixes to Genie might be required as well.