Subject: [linux-audio-dev] [OT] Autoconf cpu optimisations
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Wed Apr 10 2002 - 22:51:15 EEST
Hi all,
In my configure.in I have:
UNAME_MACHINE=`uname -m`
CFLAGS="... -mcpu=${UNAME_MACHINE} -march=${UNAME_MACHINE}"
Which seems to work fine for x86 based machines, but doesn't work for ppc,
uname -m returns "ppc" and -mcpu wont take ppc as an argument.
Does anyone know how to do this right? The -mcpu argument is important for
PII's etc. it wins quite a lot of efficiency.
- Steve
This archive was generated by hypermail 2b28 : Wed Apr 10 2002 - 22:40:39 EEST