[Pixman] [PATCH] Make sure iwMMXt is only detected on ARM
Matt Turner
mattst88 at gmail.com
Thu Oct 6 09:14:44 PDT 2011
On Thu, Oct 6, 2011 at 7:44 AM, Toms Miks <barvins.test at gmail.com> wrote:
>>accepting -march=iwmmxt on x86 is a bug in GCC
>
> "-march" just tells gcc for what processor it has to generate the code. It
> does not matter what processor the computer actually has. I mean, it's ok to
> compile code for ARM on x86 computer, or the other way around.
That's not true.
$ gcc -march=iwmmxt -c iwmmxt.c
iwmmxt.c:1:0: error: bad value (iwmmxt) for -march= switch
Matt
More information about the Pixman
mailing list