<div dir="ltr">Hi there,<div><br></div><div>I'm trying to get set up to build things using the LLVM libraries and I'm running into issues with my toolchain.</div><div><br class="">Specifically, they seem to revolve around getting the correct versions of tools, the linker not being able to find certain .a files.<br></div><div><br></div><div>So my quick specific question is, will it be problematic if I install llvm under say /usr?  Any known pitfalls?</div><div><br></div><div>More context follows:</div><div>Currently, I have a downloaded copy of LLVM 3.5 along with Clang, compiler-rt, libcxx, libcxxabi all extracted to the appropriate places in the source tree, and I'm building it using Cmake.  This builds correctly, but I'm not sure how to setup my project to use both the tools and the libraries that are built from this source tree.<br clear="all"><div><br></div><div>I've read through the page on creating an LLVM project, and combined with that information and the information on building LLVM with Cmake, I decided to put my new project in the projects subdirectory of llvm source.  My CMakeLists.txt file is attached.  Using this strategy my code is included in the LLVM build, but when I try to include LLVM support for doing command line processing I get the output in out.txt.  The output of running `env` is in env.txt.</div><div><br></div><div>If anybody has any suggestions on reading I should do to prepare my toolchain better I would be very appreciative.  Also, comments and suggestions about how to setup this new project would be greatly appreciated.</div><div><br></div><div>-- </div><div dir="ltr"><div>Geoff</div><div><br></div>Nothing is ever easy.</div>
</div></div>