Downloadable Message Modules under Cygwin

When creating LLVMs using cmake, several components including "loadable modules" are not created and warning messages are issued, such as the following:

-- 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. 

But downloadable modules are supported by Cygwin; and the convenient opt tool can be easily used. Creating with ./configure does not create such messages; and components are built. Why are these messages occurring? Is there a way to build using cmake and still have these components built?

+1
source share
1 answer

Downloadable modules are not supported on Windows due to the lack of dynamic linking on this platform. Plugins must be disabled when building autoconf.

The only way to use loadable modules on Windows is to build the entire LLVM in a large .DLL

0
source

Source: https://habr.com/ru/post/980772/


All Articles