[LLVMdev] Problem building LLVM-GCC 4.0 Front End

Bill Wendling isanbard at gmail.com
Tue Oct 2 11:47:53 PDT 2007


On 10/2/07, Mohd-Hanafiah Abdullah <napi at axiomsol.com> wrote:
> I've read and followed the README.LLVM file that comes with LLVM-GCC 4.0
> Front End source, but got the following error when compiling:
>
> configure: error: You must specify valid path to your LLVM tree with
> --enable-llvm=DIR
> make: *** [configure-gcc] Error 1
>
> I've done the following in csh before hand:
> $ setenv LLVMOBJDIR /home/napi/proj/c2jvm/llvm/llvm-gcc/obj
>
> Where did I go wrong?
>
Hi Napi,

I always just specify it with the "--enable-llvm" command instead of
an environment variable. The doc might be wrong in this instance...

-bw



More information about the llvm-dev mailing list