RE: llvm?
RE: llvm?
- Subject: RE: llvm?
- From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Thu, 1 Nov 2007 07:02:25 -0400
- Thread-topic: llvm?
Interesting. I was having a great deal of trouble getting it to compile
under Tiger before. It kept saying I was missing various packages, but
no matter how many I downloaded and installed, I never seemed to get the
right mojo working. Maybe its different under Leopard. I'll grab a
copy and see what I can do though. Also, Brian Bechtel said earlier
that it is on the DVD somewhere, but is not part of the default install.
Thanks,
Cem Karan
-----Original Message-----
From: Chris Hanson [mailto:email@hidden]
Sent: Wednesday, October 31, 2007 4:28 PM
To: Karan, Cem (Civ, ARL/CISD)
Cc: Xcode Users
Subject: Re: llvm?
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