Re: [linux-audio-dev] [OT] Autoconf cpu optimisations

2002-04-11 Thread Stefan Kost
Hi Steve, > 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

Re: [linux-audio-dev] [OT] Autoconf cpu optimisations

2002-04-10 Thread Paul Davis
>> 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. > >hmmm, >go via "cat /

Re: [linux-audio-dev] [OT] Autoconf cpu optimisations

2002-04-10 Thread Niklas Werner
On Wednesday, 10. April 2002 21:51, you wrote: > 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

[linux-audio-dev] [OT] Autoconf cpu optimisations

2002-04-10 Thread Steve Harris
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 righ