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
>> 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 /
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
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