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
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
