On Wed, 17 Sep 2003, SpawnPPC wrote:

> Okey. Now I can compile it, but, please, give me all modifies for
> makefile.unix file for use xmame on
>
> AmigaONE/DebianPPC


Hi.

first of all I'll be really nasty: did you read the makefile.unix file ?

second, find the minimal patch to compile xmame on debian PPC
to apply this one
save this one to the xmame-0.74.1 directory
and use the following command
patch -p 0 < ppc-compil

> P.S.: If I watn compile XMess?

comment the TARGET=mame line and uncomment TARGET = mess


        Eric


-- 
 Le danger si on ne s'en aper�oit pas c'est que le processeur est
 constamment � 100% de sa capacit�, il chauffe donc beaucoup
 plus et risque de lacher si il est mal ventil�.
 -+- MZ in le Neuneu P�te un C�ble : mon proc est en chaleur -+-
--- makefile.unix-orig  Wed Sep 17 09:40:15 2003
+++ makefile.unix       Wed Sep 17 09:46:18 2003
@@ -109,15 +109,15 @@
 ###########################################################################
 
 # gcc on x86
-CFLAGS = -O -Wall -Wno-unused
+# CFLAGS = -O -Wall -Wno-unused
 
 # gcc on x86 with some optimizations
 # CFLAGS = -O2 -Wall -Wno-unused -mcpu=i686 -fomit-frame-pointer \
 #  -fstrict-aliasing -fstrength-reduce -ffast-math
 
 # gcc on Linux/PowerPC
-# CFLAGS = -O2 -Wall -Wno-unused -funroll-loops -fstrength-reduce \
-#  -fomit-frame-pointer -ffast-math -fsigned-char
+CFLAGS = -O2 -Wall -Wno-unused -funroll-loops -fstrength-reduce \
+ -fomit-frame-pointer -ffast-math -fsigned-char
 
 # gcc on OpenStep/Intel
 # CFLAGS = -O2 -Wall -Wno-unused -finline-functions -ffast-math \
@@ -149,7 +149,7 @@
   #########################################################################
 
   # Uncomment for Linux on a PowerPC system.
-  # CFLAGS += -fsigned-char
+  CFLAGS += -fsigned-char
 
   # Uncomment for OpenStep and Mac OS X. 
   # CFLAGS += -traditional-cpp
@@ -462,7 +462,7 @@
 ###########################################################################
 
 # 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, though you may still enable 
@@ -480,7 +480,7 @@
 # MY_CPU = m68k
 
 # Generic RISC (PowerPC, SPARC, HPPA, IBM)
-# MY_CPU = risc
+MY_CPU = risc
 
 # Generic RISC, LSB-first (RISC (Ultrix machines) & PlayStation2)
 # MY_CPU = risc_lsb

Reply via email to