Subject: Re: [linux-audio-dev] [OT] Autoconf cpu optimisations
From: Stefan Kost (kost_AT_imn.htwk-leipzig.de)
Date: Thu Apr 11 2002 - 14:18:02 EEST
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 anyone know how to do this right? The -mcpu argument is important for
> PII's etc. it wins quite a lot of efficiency.
put into the README the infos for the various platforms and let people decide by using
> env CFLAGS=... ./configure ...
Stefan
--
\|/
<@ @> Stefan Kost private business
+-oOO-(_)-OOo------------------------------------------------------------- - - - - -
| __ Address Zwenkauer Str. 24 HTWK Leipzig, Fb IMN, Postfach 300066
| /// 04277 Leipzig 04277 Leipzig
| __ /// Germany Germany
| \\\/// Phone +49341 3910483 +49341 30766101
| \__/ EMail st_kost_AT_gmx.net kost_AT_imn.htwk-leipzig.de
| WWW http://www.sonicpulse.de http://www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - - - -
This archive was generated by hypermail 2b28 : Thu Apr 11 2002 - 14:06:36 EEST