Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >llvm? (From: Cem Karan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.