[LLVMdev] way to determine which version of llvm for llvm-gcc? Xcode specifically

Robb Kistler rkistler at arxan.com
Mon Oct 4 18:51:19 PDT 2010


Thank you, exactly what I needed!

On Oct 4, 2010, at 5:47 PM, Jim Grosbach wrote:

> Hi Robb,
> 
> When you run llvm-gcc with -v, you should see as part of the output something like:
> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2366.3)
> 
> That last bit on the end is an llvm tag version and should do the trick for what you're looking for. They generally refer to the tags at http://llvm.org/svn/llvm-project/llvm/tags/Apple.
> 
> -Jim
> 
> On Oct 4, 2010, at 4:50 PM, Robb Kistler wrote:
> 
>> I'd like to know if there is a way to find out which llvm version a given version of llvm-gcc is using for code generation.
>> 
>> Specifically, I'm working with Xcode 3.2.5's arm-apple-darwin10-llvm-g++-4.2
>> 
>> Calling it with --version and --verbose don't give any hints.  I want to run the compiler with --emit-llvm and eventually call llc.  llc isn't included in Xcode so I want to make sure I use the correct version.  
>> 
>> Thanks in advance
>> --Robb Kistler
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 





More information about the llvm-dev mailing list