Re: llvm?
Re: llvm?
- Subject: Re: llvm?
- From: Chris Hanson <email@hidden>
- Date: Wed, 31 Oct 2007 13:27:40 -0700
On Oct 31, 2007, at 4:06 AM, Cem Karan wrote:
Except... I can't find llvm on my system. 'locate llvm' doesn't
return anything, and neither does spotlight. I'm assuming that
XCode 3.0 puts it somewhere that I haven't thought to look at yet,
but if someone already knows where it is (and if its name got
changed), that would be handy.
LLVM on Leopard is not an end-user or developer technology. That's
why you're not finding it.
On the other hand, I've found that LLVM is one of the easiest, most
straightforward Open Source projects that I've found when it comes to
building it straight from Subversion.
To check out and build LLVM for debugging straight from Subversion:
[Projects]% svn checkout http://llvm.org/svn/llvm-project/llvm/trunk
llvm
[Projects]% mkdir build
[Projects]% pushd build
[Projects/build]% ../llvm/configure --enable-targets=host-only
[Projects/build]% make -j 2
(Note: I've only done the above on Leopard.) You can also use a
packaged distribution from <http://llvm.org/>; LLVM 2.1 was just
released.
One other hint: LLVM is designed such that it can handle parallel
builds, so do a "make -j X" where X is the number of CPUs you have.
When doing the above on my 1st-generation 2GHz MacBook Pro, a from-
scratch "make -j 2" only takes about 5 minutes.
-- Chris
_______________________________________________
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
- Follow-Ups:
- Re: llvm?
- From: Jyrki Wahlstedt <email@hidden>
References: | |
| >llvm? (From: Cem Karan <email@hidden>) |