[cfe-commits] r68484 - /cfe/trunk/test/CodeGenObjC/try.m

Chris Lattner clattner at apple.com
Mon Apr 6 20:00:44 PDT 2009


On Apr 6, 2009, at 7:41 PM, Daniel Dunbar wrote:

> On Mon, Apr 6, 2009 at 7:33 PM, Chris Lattner <clattner at apple.com>  
> wrote:
>
> On Apr 6, 2009, at 7:31 PM, Daniel Dunbar wrote:
>
> Author: ddunbar
> Date: Mon Apr  6 21:31:44 2009
> New Revision: 68484
>
> URL: http://llvm.org/viewvc/llvm-project?rev=68484&view=rev
> Log:
> Fix test (triple wasn't passed correctly, the driver doesn't accept
> -mtriple).
>
> Huh weird.  Why doesn't the driver accept -mtriple?
>
> 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.

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.

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090406/409706d8/attachment.html>


More information about the cfe-commits mailing list