On Tue, Mar 10, 2015 at 6:58 AM, Renato Golin <[email protected]>
wrote:

> Allow -target= and --target options
>
> Using clang as a cross-compiler with the 'target' option could be confusing
> for those inexperienced in the realm of cross compiling.
>
> This patch would allow the use of all these four variants of the target
> option:
> -target <triple>
> --target <triple>
> -target=<triple>
> --target=<triple>
>

Previously we insisted on using --target= because we wanted that to be the
consistent driver syntax for this option. I would prefer to continue to
insist on that.

I think offering choices here is a very serious mistake. This is our
driver's flag, and we should have some freedom to specify its syntax.

Could we go back to requiring explicitly '--target='?
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to