[cfe-commits] r44560 - in /cfe/trunk/Driver: Targets.cpp clang.cpp

Chris Lattner clattner at apple.com
Mon Dec 3 17:06:55 PST 2007


On Dec 3, 2007, at 3:23 PM, Ted Kremenek wrote:

> Author: kremenek
> Date: Mon Dec  3 17:23:21 2007
> New Revision: 44560
>
> URL: http://llvm.org/viewvc/llvm-project?rev=44560&view=rev
> Log:
> For target processing, on non-Darwin systems instead of using the  
> host triple,
> we default to "i386-apple-darwin".  This is an interim solution.

Why not treat a ppc/linux machine as ppc-apple-darwin or whatever?   
In other words, just drop all darwin checking from the target  
matching.  The ppc/darwin target will automatically be picked for any  
ppc-* target.

Thanks Ted,

-Chris





More information about the cfe-commits mailing list