[LLVMdev] problem building llvm + 4.2 frontend from svn

John Regehr regehr at cs.utah.edu
Wed Apr 23 14:15:41 PDT 2008


I checked out LLVM and configured like this:

./configure --prefix=/home/regehr --enable-optimized

then built and installed it.  Then, checked out the frontend, configured 
like this:

../configure --prefix=/home/regehr --enable-languages=c,c++  \
--enable-llvm=/home/regehr/z/llvm

but when I try to build I get

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

The dir I specified is correct, and it is being passed properly to 
gcc/configure.  The problem seems to be that my llvm stuff is going into 
a "Release" directory, whereas the stuff in gcc/configure starting 
around line 7384 is checking a list of dirs including "Release-Asserts", 
"Debug-Asserts", etc. -- but not including "Release" so I'm falling into 
the else clause.

Am I doing something silly or is this a bug?  Thanks,

John Regehr



More information about the llvm-dev mailing list