[LLVMdev] fail to build LLVM GCC front-end
Duncan Sands
baldrick at free.fr
Thu Apr 29 04:42:54 PDT 2010
Hi Jiandong Wang,
> I followed the instructions in llvm_gcc's README.LLVM file, but not
> exactly the same.
>
> the following is what I have done with LLVM:
> ./configure --disable-optimized --enable-checking
in which directory did you do this?
> ../llvm-gcc/configure --prefix=`pwd`/../install --program-prefix=llvm-
> --enable-llvm=/home/username/llvm-2.7/Debug --enable-languages=c,c++
You should pass the directory you ran LLVM configure in to --enable-llvm
> make LLVM_VERSION_INFO=2.7
> make install
make LLVM_VERSION_INFO=2.7 install
Ciao,
Duncan.
More information about the llvm-dev
mailing list