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,
I think --enable-llvm (for the front-end compilation) expects the object directory used during the LLVM compilation.
I followed the following sequence and got both LLVM and front end installed on Ubuntu 7.10. Hope this helps.
I think gcc from svn has checking enabled by default (which means
it wants to use LLVM built with checking enabled). Try configuring
llvm-gcc with --enable-checking=release or compile an unoptimized
LLVM.