[LLVMdev] LLVM-GCC builds on OS X 10.5, fails on 10.6

Trevor Harmon trevor.w.harmon at nasa.gov
Fri Jan 28 07:26:09 PST 2011


On Jan 27, 2011, at 1:42 PM, Jim Grosbach wrote:

> It looks like you're building a 32-bit llvm-gcc and trying to link it against 64-bit llvm libraries. Try specifying the triple as x86_64-apple-darwin10 instead of i686-apple-darwin9.

Yep, that was it... thanks!

It looks like I can generalize the TRIPLE setting to:

  export TRIPLE=$MACHTYPE

and it will pick up either x86_64-apple-darwin10 or i686-apple-darwin9 as appropriate.

Trevor





More information about the llvm-dev mailing list