r231787 - Allow -target= and --target options
Chandler Carruth
chandlerc at google.com
Wed Mar 11 13:16:16 PDT 2015
On Tue, Mar 10, 2015 at 6:58 AM, Renato Golin <renato.golin at linaro.org>
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='?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150311/92275c05/attachment.html>
More information about the cfe-commits
mailing list