<div class="gmail_quote"></div>  Since <i>-ccc-host-triple</i> isn't part of the normal non-hidden help docs I think it should be deprecated in favor of something like <i>-mos</i> which James' patch adds.<br>I think having clang set the host (<i>-ccc-host-triple, -mos) </i>based on the executable prefix is a bad idea. A normal user wouldn't even know wha<i>t </i><i>-ccc-host-triple </i>is. They wouldn't be aware that the host triple had changed. Forcing the host triple to something different could cause undesired behavior. The convention for prefixing the compiler executable is to show what the <b>target </b>is.<br>
<br>It makes more sense to me to have the executable prefix only set the target triple. The host triple should need to be explicitly set if another triple is needed.<br><i><br></i>