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    [EMAIL PROTECTED]           [EMAIL PROTECTED]
|              WWW      http://www.sonicpulse.de  
|http://www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - -  -    -

Reply via email to