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

Nick Lewycky nicholas at mxc.ca
Thu Sep 9 01:29:42 PDT 2010


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++.

You probably configured llvm-gcc without passing --program-prefix=llvm-
. Could you try adding that and try again?

Nick

> 
> 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 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