[cfe-dev] Linking external libraries into Transforms

Jeff Heckey jheckey at gmail.com
Wed May 22 11:51:45 PDT 2013


How do I link external libraries into a Transform?

We are currently using the multiprecision math libraries to perform a
tricky mathematical decomposition within the language we are working on.
Unfortunately, it is unclear how to add mpfr, et al into the build. The
decomposition is leveraged from another project and the ordering is finicky
when it comes to compiling as well.

I have tried compiling the other project into a static library that can be
included, which should make the linking more stable (i.e., statically build
the library, include the .h files, place into Release+Asserts/lib/...,
build clang), but I'm still having problems getting the library to work as
a whole.

-Thanks,
-Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130522/df5af732/attachment.html>


More information about the cfe-dev mailing list