huwei8717
2010-Sep-09 08:05 UTC
[LLVMdev] no llvm-gcc and llvm-g++ in the directory of bin
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100909/b1853828/attachment.html>
Nick Lewycky
2010-Sep-09 08:29 UTC
[LLVMdev] no llvm-gcc and llvm-g++ in the directory of bin
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
Maybe Matching Threads
- [LLVMdev] [llvm-testresults] no llvm-gcc and llvm-g++ in the directory of bin
- [LLVMdev] I have llvm, poolalloc, and llvm-gcc to be installed
- [LLVMdev] I have llvm, poolalloc, and llvm-gcc to be installed
- [LLVMdev] Build error for llvm-2.9 on RHEL5
- [LLVMdev] Build error for llvm-2.9 on RHEL5