[cfe-commits] [PATCH] Driver modifications for cross compilation
Eric Christopher
echristo at apple.com
Tue Jul 12 18:58:12 PDT 2011
On Jul 12, 2011, at 6:54 PM, Chris Lattner wrote:
> +1, but should -target be -triple? We can use -target when we have some target/toolchain description mechanism.
>
I'm ok here either way. Daniel had expressed a desire for -target so that we could put multiple types of parseable strings here, but I have no dog in this show.
>> clang -march
>> This unfortunate option is around for compatibility, it'll select a sub arch if used from a single architecture compile, error otherwise.
>> clang -mcpu
>> Ditto.
>
> I think that these should fall into "do whatever gcc does for compatibility" camp.
Agreed. Unfortunately that's definitely a per-target thing for gcc. i.e. mips and arm act differently here :)
I basically left them in so we could do the best we could for gcc compatibility.
-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110712/426ea8f6/attachment.html>
More information about the cfe-commits
mailing list