【发布时间】:2014-03-18 21:19:10
【问题描述】:
使用cmake构建LLVM时,一些涉及“可加载模块”的组件没有构建,并发出如下警告信息:
-- LLVMHello ignored -- Loadable modules not supported on this platform.
...
-- BugpointPasses ignored -- Loadable modules not supported on this platform.
...
-- SampleAnalyzerPlugin ignored -- Loadable modules not supported on this platform.
-- PrintFunctionNames ignored -- Loadable modules not supported on this platform.
但 Cygwin 支持可加载模块;并且可以轻松使用方便的opt 工具。使用./configure 构建不会产生此类消息;并且组件已构建。为什么会出现这些消息?有没有办法使用 cmake 构建,并且仍然构建这些组件?
【问题讨论】:
标签: dll cygwin shared-libraries llvm