[LLVMdev] llvm-gcc conigure error
Jim Grosbach
grosbach at apple.com
Fri Nov 5 14:08:58 PDT 2010
On Nov 5, 2010, at 10:38 AM, tonyg362 wrote:
>
> 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.
Try --enable-llvm=/home/tony/llvm/llvm-install
>
> 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.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list