[LLVMdev] [llvm-testresults] no llvm-gcc and llvm-g++ in the directory of bin

Jim Grosbach grosbach at apple.com
Wed Sep 8 08:55:25 PDT 2010


Hello,

The "LLVM build" in the -v output indicates you have an llvm-enabled gcc (i.e., llvm-gcc). The binaries are just named "gcc" and "g++" by default, just like with vanilla gcc. Use --program-prefix=llvm- on your configure line for llvm-gcc to have them named llvm-*.

Your questions will get more visibility and a higher likelihood of being answered if you direct them to the llvmdev list rather than the llvm-testresults list. This list is normally used for automated test-suite results emails and responses discussing them.

Regards,
  Jim

On Sep 8, 2010, at 4:22 AM, huwei8717 wrote:

> My problem is there is no llvm-gcc and llvm-g++ in the directory of bin when I have installed llvm and llvm-gcc.
> I was following the instruction of http://llvm.org/releases/2.6/docs/GettingStarted.html, however when I finished installing the llvm and llvm-gcc successfully, the bin dir contains no llvm-gcc and llvm-g++, but contain gcc and g++.
> 
> The following is files in the directory of bin: 
> —————————————————————————————————————— 
> root at ubuntu:~/llvm_install/bin# ls 
> bugpoint  gcc     gcov                         i686-pc-linux-gnu-g++         
> lli              llvmc        llvm-extract  llvm-prof    tblgen 
> c++       gccas   i686-pc-linux-gnu-c++        i686-pc-linux-gnu-gcc         
> llvm-ar          llvm-config  llvm-ld       llvm-ranlib 
> cpp       gccbug  i686-pc-linux-gnu-cpp        i686-pc-linux-gnu-gcc-4.2.1   
> llvm-as          llvm-db      llvm-link     llvm-stub 
> g++       gccld   i686-pc-linux-gnu-cpp-4.2.1  llc       
> —————————————————————————————————————— 
> 
> The following is the result when I execute ./gcc -v :  
> —————————————————————————————————————— 
> root at ubuntu:~/llvm_install/bin# ./gcc -v 
> Using built-in specs. 
> Target: i686-pc-linux-gnu 
> Configured with: ../configure --prefix=/root/llvm_install/ --enable-llvm=/ 
> root/llvm_install/ --enable-languages=c,c++ 
> Thread model: posix 
> gcc version 4.2.1 (Based on Apple Inc. build 5649) (LLVM build) 
> 
> —————————————————————————————————————— 
> Could someone help me? Thank you very much!
>  
> Best regards 
>  
> 2010-09-08
> Daneill
> _______________________________________________
> llvm-testresults mailing list
> llvm-testresults at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-testresults

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100908/0fcceac5/attachment.html>


More information about the llvm-dev mailing list