[cfe-dev] FW: [PATCH] Driver modifications for cross compilation
John Myers
atomicdog.jwm at gmail.com
Sat May 28 21:04:55 PDT 2011
Since *-ccc-host-triple* isn't part of the normal non-hidden help docs I
think it should be deprecated in favor of something like *-mos* which James'
patch adds.
I think having clang set the host (*-ccc-host-triple, -mos) *based on the
executable prefix is a bad idea. A normal user wouldn't even know
wha*t **-ccc-host-triple
*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 *target
*is.
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.
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110528/e3a42f9d/attachment.html>
More information about the cfe-dev
mailing list