Robb Kistler
2010-Oct-04 23:50 UTC
[LLVMdev] way to determine which version of llvm for llvm-gcc? Xcode specifically
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
Jim Grosbach
2010-Oct-05 00:47 UTC
[LLVMdev] way to determine which version of llvm for llvm-gcc? Xcode specifically
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
Robb Kistler
2010-Oct-05 01:51 UTC
[LLVMdev] way to determine which version of llvm for llvm-gcc? Xcode specifically
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 >
Maybe Matching Threads
- [LLVMdev] way to determine which version of llvm for llvm-gcc? Xcode specifically
- [LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
- [LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
- [LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
- Issues with installing RBGL package