Package: openmsx-catapult
Version: 0.6.0-R1-3
Severity: wishlist
Tags: patch

When building 'openmsx-catapult' on ppc64/unstable,
I get the following error:

make[1]: Entering directory `/openmsx-catapult-0.6.0-R1'
Autodetecting native system:
  Using config.guess of 2004-03-03...
  Detected system: powerpc64-unknown-linux-gnu
  Unknown CPU "powerpc64"!

With the attached patch 'openmsx-catapult' can be compiled on ppc64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/openmsx-catapult-0.6.0-R1/build/detectsys.sh 
./build/detectsys.sh
--- ../tmp-orig/openmsx-catapult-0.6.0-R1/build/detectsys.sh    2005-04-25 
21:13:34.000000000 +0000
+++ ./build/detectsys.sh        2006-04-19 08:52:03.000000000 +0000
@@ -33,7 +33,7 @@
                CATAPULT_TARGET_CPU=x86;;
        x86_64)
                CATAPULT_TARGET_CPU=x86_64;;
-       powerpc)
+       powerpc*)
                CATAPULT_TARGET_CPU=ppc;;
        sparc*)
                CATAPULT_TARGET_CPU=sparc;;
diff -urN ../tmp-orig/openmsx-catapult-0.6.0-R1/build/flavour-ppc.mk 
./build/flavour-ppc.mk
--- ../tmp-orig/openmsx-catapult-0.6.0-R1/build/flavour-ppc.mk  2005-01-26 
02:36:57.000000000 +0000
+++ ./build/flavour-ppc.mk      2006-04-19 08:53:01.000000000 +0000
@@ -6,11 +6,11 @@
 # Optimisation flags.
 # Needs a manual setting ('export POWERPCG4=true') to optimise for PPC74xx/G4
 CXXFLAGS+=-O3 -DNDEBUG -mpowerpc-gfxopt
-ifeq ($(POWERPCG4),true)
-CXXFLAGS+=-mcpu=7450 -maltivec -mabi=altivec
-else
-CXXFLAGS+=-mcpu=750
-endif
+#ifeq ($(POWERPCG4),true)
+#CXXFLAGS+=-mcpu=7450 -maltivec -mabi=altivec
+#else
+#CXXFLAGS+=-mcpu=750
+#endif
 
 # Strip executable?
 CATAPULT_STRIP:=true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to