[LLVMdev] gcc 4.2 to llvm-gcc 4.2 transition

Thomas Clement tclementdev at gmail.com
Sat Jul 24 13:10:29 PDT 2010


On 24 juil. 2010, at 21:59, Benjamin Kramer wrote:

> On 24.07.2010, at 21:27, Thomas Clement wrote:
> 
>> On 24 juil. 2010, at 20:29, Chris Lattner wrote:
>> 
>>>> - I am not sure if clang can generate code that runs on 10.5.
>>> 
>>> It can, but it does not support powerpc (llvm-gcc does).
>> 
>> Really? I couldn't find any Apple documentation that mentions this.
>> Also we have built powerpc code with the clang "LLVM compiler 1.5" and it does run on powerpc.
>> 
>> Should we use the llvm-gcc compiler for the powerpc architecture instead?
> 
> clang in Xcode is compiled without powerpc support, it'll fall back to gcc.

That's right and it actually falls back to llvm-gcc.
I didn't know that.

Thanks!
Thomas



More information about the llvm-dev mailing list