<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 6, 2009, at 7:41 PM, Daniel Dunbar wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Mon, Apr 6, 2009 at 7:33 PM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@apple.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="im"><br> On Apr 6, 2009, at 7:31 PM, Daniel Dunbar wrote:<br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Author: ddunbar<br> Date: Mon Apr  6 21:31:44 2009<br> New Revision: 68484<br> <br> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=68484&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=68484&view=rev</a><br> Log:<br> Fix test (triple wasn't passed correctly, the driver doesn't accept<br> -mtriple).<br> </blockquote> <br></div> Huh weird.  Why doesn't the driver accept -mtriple?<font color="#888888"></font></blockquote><div><br>Why would it? -mtriple isn't a standard option (is it?). We should support some form of setting the triple, but I find -mtriple to be a funny spelling for it. Supporting -b to set the target would be somewhat more consistent with gcc.<br></div></div></blockquote><br></div><div>It's not a standard option only because gcc doesn't support building multiple targets into one compiler.  I think it would be amazingly useful for cross builds.</div><div><br></div><div>-Chris</div></body></html>