Re: Using llvm with Xcode
Re: Using llvm with Xcode
- Subject: Re: Using llvm with Xcode
- From: Jesper Papmehl-Dufay <email@hidden>
- Date: Mon, 27 Aug 2007 18:40:46 +0200
I am using the 10.4 SDK.
I have installed llvm in a subfolder of my home directory, and then
placed symlinks to llvm-gcc and llvm-g++ in /usr/bin. Is there
anything else I need to do? I don't think the installation
instructions for llvm are exactly clear in this regard... :)
Thanks!
/Jesper
24 aug 2007 kl. 20.24 skrev Devang Patel:
On Aug 24, 2007, at 10:04 AM, Jesper Papmehl-Dufay wrote:
Thanks for the quick reply!
Yes, that's much easier! :) I wasn't aware of the CC/CPLUSPLUS.
Unfortunately, I now run into other problems. I'm sorry if this is
maybe getting a bit off-topic; hopefully, I'm not the only Xcode
user interested in using llvm.
When precompiling my prefix file, I get a few errors about some
system headers that cannot be found.
For example, my prefix file includes stdarg.h, and that file in
itself can be found, but it contains the following line:
#include_next <stdarg.h>
and llvm cannot found _that_ copy of stdarg.h.
I have the same problem with float.h (which is included by a
header in the Carbon framework which I include).
Is there some way to make llvm to behave more like gcc when it
comes to finding system header files?
llvm-gcc uses gcc front-end so it behaves like gcc. However,
depending upon your llvm-gcc install location, it may not be able
to find system headers associated with SDKs. Are you using SDK ?
-
Devang
_______________________________________________
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