Package: openmsx
Version: 0.6.0-1
Severity: wishlist
Tags: patch

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

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

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/openmsx-0.6.0/build/detectsys.sh ./build/detectsys.sh
--- ../tmp-orig/openmsx-0.6.0/build/detectsys.sh        2005-12-27 
15:44:09.000000000 +0000
+++ ./build/detectsys.sh        2006-04-19 06:34:46.000000000 +0000
@@ -35,7 +35,7 @@
                OPENMSX_TARGET_CPU=x86_64;;
        amd64)
                OPENMSX_TARGET_CPU=x86_64;;
-       powerpc)
+       powerpc*)
                OPENMSX_TARGET_CPU=ppc;;
        sparc*)
                OPENMSX_TARGET_CPU=sparc;;
diff -urN ../tmp-orig/openmsx-0.6.0/build/flavour-ppc.mk ./build/flavour-ppc.mk
--- ../tmp-orig/openmsx-0.6.0/build/flavour-ppc.mk      2005-12-22 
04:53:18.000000000 +0000
+++ ./build/flavour-ppc.mk      2006-04-19 06:36:50.000000000 +0000
@@ -4,9 +4,9 @@
 # Optimised for G3 PPC.
 
 # Optimisation flags.
 CXXFLAGS+=-O3 -DNDEBUG -mpowerpc-gfxopt
 #CXXFLAGS+=-mcpu=750
-CXXFLAGS+=-mcpu=G3
+#CXXFLAGS+=-mcpu=G3
 
 # TODO: this file is currently made for MacOSX and won't work on debian/PPC
 #       lets discuss this on IRC, perhaps they should be detected as separate 
systems somehow?


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

Reply via email to