[LLVMdev] Problem building LLVM-GCC 4.0 Front End
Mohd-Hanafiah Abdullah
napi at axiomsol.com
Tue Oct 2 11:58:26 PDT 2007
On Tue, 2007-10-02 at 14:38 -0700, Tanya M. Lattner 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?
>
> LLVMOBJDIR needs to be the LLVM tree, not llvm-gcc.
Could you give me an example of the LLVM tree and of the setting of
LLVMOBJDIR?
Thanks.
Napi
More information about the llvm-dev
mailing list