On 1/28/07, Andreas <[EMAIL PROTECTED]> wrote:
I have still one problem: Recognizing the PowerPC architecture.
Currently the corresponding section in our configuration files looks like:
PROCESSOR=`${UNAME} -m`
if test `echo $PROCESSOR|${CUT} -c3` = ppc ; then
ARCHITECTURE=ppc32
BINFMT=Linux-ppc32
fi
if test `echo $PROCESSOR` = ppc64 ; then
ARCHITECTURE=ppc64
BINFMT=Linux-ppc64
fi
Unfortunately I am not sure if I got the names right, i.e. I dont
know if uname differs between the 32 and 64 bit processors.
Could some of the PPC users please send me the corresponding uname
output?
The code above causes a build failure in 32-bit powerpc, the uname -m
output in this case is 'ppc'. The attached patch fixed this for me.
I also built ballview on a 6-month old (i.e. fast) pc, but it seems
really slow, the screen update is something like 0.3 FPS. I have an
intel graphics card with DRI enabled and other opengl apps work ok.
Any idea what might be wrong?
Teemu
--- aclocal.m4.orig 2007-01-27 21:53:57.000000000 +0100
+++ aclocal.m4 2007-01-27 21:54:17.000000000 +0100
@@ -378,7 +378,7 @@
ARCHITECTURE=x86_64
BINFMT=Linux-x86_64
fi
- if test `echo $PROCESSOR|${CUT} -c3` = ppc ; then
+ if test `echo $PROCESSOR` = ppc ; then
ARCHITECTURE=ppc32
BINFMT=Linux-ppc32
fi