[LLVMdev] llvm-gcc conigure error

tonyg362 tonyg3622 at yahoo.com
Fri Nov 5 10:38:06 PDT 2010


I am trying to build llvm-gcc and I keep running into a configure error:

configure: error: You must specify valid path to your LLVM tree with
--enable-llvm=DIR

I have an llvm directory which contains the following directories:

llvm-2.8 llvm-install llvm-obj llvm-gcc llvm-gcc-obj llvm-gcc-install

I first configure, build, and install llvm by doing the following:

configure llvm inside llvm-obj with --prefix=/home/tony/llvm/llvm-install
--enable-llvm=/home/tony/llvm/llvm-2.8 among other options. Then make, make
install. This works fine.

Then I cd to llvm-gcc-obj, configure with
--prefix=/home/tony/llvm/llvm-gcc-install
--enable-llvm=/home/tony/llvm/llvm-obj among other options. Then when I do
make I get the configure error.

I am using Ubuntu 10.04 x86_64, with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5). I
downloaded the llvm-2.8 and llvm-gcc4.2-2.8 tarballs from llvm.org. I don't
see why I'm getting this configure error when I am following the README and
specifying --enable-llvm when I configure.
-- 
View this message in context: http://old.nabble.com/llvm-gcc-conigure-error-tp30143434p30143434.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.




More information about the llvm-dev mailing list