On 2012-07-24 11:02, Erik Cederstrand wrote: > I'm creating a FreeBSD port for MCLinker (http://code.google.com/p/mclinker/) > in preparation of MCLinker working without patching LLVM, and testing > MCLinker as a system linker when it gets far enough. > > In the configure stage, MCLinker needs to run llvm-config, which is not > installed by default in FreeBSD, even when WITH_CLANG_EXTRAS is set. What is > the best option to get llvm-config on my system? Can I just run make && make > install somewhere in /usr/src?
I never added the tool to the tree, because I simply didn't think anybody would need to ever run this (IMO not very useful) tool. (Since the configuration is totally static, there's no need to dynamically run a tool such as this to get at the configuration details.) It isn't too hard to re-add it to the tree though, and add it to the WITH_CLANG_EXTRAS case. Another possibility is to just install the lang/clang or lang/clang-devel port. Btw, does MCLinker want to use LLVM as a shared library, by any chance? If that is the case, you should definitely use the port, as adding the shared library to the system is something I still need to implement. _______________________________________________ freebsd-toolchain@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"