r231787 - Allow -target= and --target options
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>
> 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
> -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...
More information about the cfe-commits