[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

Aaron Gray aaronngray.lists at googlemail.com
Thu Jul 2 14:56:26 PDT 2009


Hi Mikhail,

Heres a fix for Cygwin, its been tested on Cygwin and Linux (make check).

Aaron

2009/6/29 Mikhail Glushenkov <the.dead.shall.rise at gmail.com>

> 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.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090702/ceaf3d81/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CygwinFix.patch
Type: application/octet-stream
Size: 2661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090702/ceaf3d81/attachment.obj>


More information about the llvm-commits mailing list