[LLVMdev] xcodebuild and LLVM

John Criswell criswell at cs.uiuc.edu
Wed Sep 3 15:12:32 PDT 2008


Dear All,

Is there a way to convince xcodebuild to build bitcode files for LLVM 
for an arbitrary Xcode project?  So far, I've been able to get 
xcodebuild to use LLVM by installing XCode 3.1 and using CC="llvm-gcc" 
on the command line.  I've also managed to get LLVM bitcode generates 
for intermediate files by using "CC="lvm-gcc -emit-llvm"; however, this 
gives an error during linking stating that ld does not understand the 
-emit-llvm option.

Thanks in advance.

-- John T.




More information about the llvm-dev mailing list