[llvm-commits] [llvm] r74417 - in /llvm/trunk: Makefile.rules include/llvm/CompilerDriver/Main.inc lib/CompilerDriver/BuiltinOptions.cpp lib/CompilerDriver/Makefile lib/CompilerDriver/Tool.cpp
Mikhail Glushenkov
the.dead.shall.rise at gmail.com
Mon Jun 29 10:27:32 PDT 2009
Hi,
Howard Su <howard0su at ...> writes:
>
>
> Great. I can now wait to try. How can I compile a pass as a DLL?
I guess that you are thinking about *opt* plugins, but this was a *llvmc* commit.
Anyway, to compile a dynamic *llvmc* plugin, just cd to the plugin directory and
run make.
$ cd tools/llvmc/plugins/Base
$ make
$ cd ../../example/Skeleton
$ make
$ llvmc-skeleton -load $LLVM_DIR/Release/lib/plugin_llvmc_Base.dll --help
> Can you include a sample CMakefile?
No, I don't use cmake.
More information about the llvm-commits
mailing list