Using llvm with Xcode
Using llvm with Xcode
- Subject: Using llvm with Xcode
- From: Jesper Papmehl-Dufay <email@hidden>
- Date: Fri, 24 Aug 2007 14:55:38 +0200
I'm trying to get Xcode to compile C(++) sources using llvm
(www.llvm.org) instead of using gcc, and I'm having some trouble.
I've set up a custom build rule to use a small shell script that I've
written that calls the llvm version of gcc.
By looking at various files in /System/Library/PrivateFrameworks/
DevToolsCore.framework/Versions/A/Resources, I have managed to make
my script send most of the command line options I need to llvm, but
I'm still having trouble with precompiled headers and header maps,
among other things.
Has anyone successfully used llvm with Xcode? Or has anyone used some
other gcc-like compiler with Xcode using a custom build rule? Can you
share any hints? :)
TIA
/Jesper Papmehl-Dufay
Propellerhead Software
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden