Hi, 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. Has anyone tried to use LLVM this way? It seems it would be easier to use LLVM as a library if there was a *single* directory that I could sym-link in my original include tree. Thanks, Rahul
> 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/