[LLVMdev] [cfe-dev] AArch64 Clang CLI interface proposal

Renato Golin renato.golin at linaro.org
Wed Jun 25 05:51:24 PDT 2014


On 25 June 2014 12:58, James Molloy <james at jamesmolloy.co.uk> wrote:
> This is one of the worst parts about the Clang CLI for cross compilation at
> the moment. I'd really like, if we're changing the CLI, to allow users to
> remove it. For example, if I specify -march=armv7-a, it *shouldn't* need me
> to put "-target arm" before it to work!

Good lord, that's horrendous!


> On a similar note, how does this proposal deal with instruction set
> selection? what does "-march=armv8-a" select-  AArch32 or AArch64? or is
> that expected to be handled by the "-target" (grim!)

Can't we do the same as -thumb? Like -a32 and -a64, with default to -a64?

--renato



More information about the llvm-dev mailing list