[patch] gcc compat: Support -masm= flag for x86 targets

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue May 13 04:00:15 PDT 2014


On 13 May 2014 03:58, Nico Weber <thakis at chromium.org> wrote:
> It says `unrecognized command line option '-masm=intel'` (or att) when
> targeting mips or arm.
> https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html lists it as under
> "i386 and x86-64 Options", so I'm guessing gcc will say `unrecognized
> command line option` for ppc too. Do you think it'll do something peculiar
> for ppc? Should I build a gcc targeting ppc, or is adding a mips run line
> good enough for you?

Oh, I just asked for ppc because arm is know to have its own syntax
variation, so I was not sure if it would accept att for anything but
arm. If it is explicitly documented as x86 and x86-64, this is fine.

Cheers,
Rafael



More information about the cfe-commits mailing list