[LLVMdev] LLVM as a library

Chris Lattner sabre at nondot.org
Sun Jun 29 20:30:01 PDT 2003


> I am trying to use LLVM as a library with some other code base. My
> problem is with the directory structure of 'include'. My original code
> base has include/Support and include/boost directories. So I cannot just
> replicate the entire llvm/include directory structure under the original
> 'include' directory. If I create a sym link llvm in the include/
> directory, then various #include's in the LLVM headers fail.

I'm not sure if I completely understand the problem, but you should just
be able to add an extra -I option to the command line to pull in include
files from whereever you want...

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list