Xmame is distributed such that you need to hack the Makefile slightly for anything that's not X86 linux. Here's a patch for the Makefile that works for me: --- Makefile.bak Tue Jun 11 22:42:09 2002 +++ Makefile Tue Jun 11 22:40:52 2002 @@ -99,6 +99,6 @@ # -malign-jumps=2 -malign-loops=2 ### for Linux/PowerPC use following opts -# #CFLAGS= -Wno-unused -funroll-loops\ -# -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char +CFLAGS= -Wno-unused -funroll-loops\ + -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char ### for OpenStep/Intel use following opts # #CFLAGS= -Wno-unused -finline-functions -ffast-math \ @@ -219,5 +219,5 @@ ### i386 + gnu-asm -MY_CPU = i386 +# MY_CPU = i386 ### i386 no asm -- needed for the Intel C++ Compiler which does not fully # understand gcc's inline assembly syntax (you may still enable X86_ASM_68000 @@ -231,5 +231,5 @@ # MY_CPU = m68k ### generic risc (powerpc, sparc, hppa, ibm) -# MY_CPU = risc +MY_CPU = risc ### generic risc, lsb-first (RISC (ultrix machines)) # MY_CPU = risc_lsb @@ -281,5 +281,5 @@ # JOY_X11 = 1 # On iX86 based OS's, if supported, you can use standard joystick driver. -JOY_I386 = 1 +# JOY_I386 = 1 # Linux FM-TOWNS game PAD joystick emulation support, thanks to Osamu Kurati. # JOY_PAD = 1 Thanks.
Added stuff from patch to ebuild; compiles on ppc now, though it's not much tested (I don't have any game roms). Thanks for the report, Derek; feedback appreciated.