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

Eric Christopher echristo at gmail.com
Wed Jun 25 15:24:18 PDT 2014


On Wed, Jun 25, 2014 at 5:51 AM, Renato Golin <renato.golin at linaro.org> wrote:
> 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!
>

*shrug* it's that or we start figuring out how to make -arch work on
all hosts to all targets. (Hint: Not possible without a triple)

i.e. if you specify -march=armv7-a what OS do you want? You could say
that you want the same OS that you're on I guess, but...

-eric


>
>> 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
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev



More information about the cfe-dev mailing list