Where is LLVM-3.0.dll

I'm trying to use LLVM on Windows for the first time. Keith Sheppard has
published some F# bindings:

  https://github.com/keithshep/llvm-fs

They require an LLVM-3.0.dll file. I'm not familiar with Windows but I think
I've managed to build LLVM 3.0 using both VS2010 and Cygwin but neither
build seems to have produced said file. The VS2010 build (made using CMake)
seems to have made lots of .lib files in /lib/Debug whereas the Cygwin build
seems to have made lots of .a files in /Release/lib. Where are the .dlls or
how do I make them?

I'm trying to use LLVM on Windows for the first time. Keith Sheppard has
published some F# bindings:

https://github.com/keithshep/llvm-fs

Keith specified the build instructions there, what were the problems
of using them?

Anton wrote:

> I'm trying to use LLVM on Windows for the first time. Keith Sheppard
> has published some F# bindings:
>
> https://github.com/keithshep/llvm-fs
Keith specified the build instructions there, what were the problems of using
them?

I followed both those instructions and (separately) the instructions from the LLVM "Getting Started with the LLVM System using Microsoft Visual Studio" page but neither seems to have produced the file I need.

Following those instructions, I get .a files and no .dll files so the llvm-fs bindings do not work because they expect to bind to an LLVM-3.0.dll file. For example:

        [<DllImport("LLVM-3.0.dll", EntryPoint="LLVMModuleCreateWithName")>]
        extern void* (* LLVMModuleRef *) moduleCreateWithNameNative(
            string ModuleID)
        let moduleCreateWithName _ModuleID =
            new ModuleRef (moduleCreateWithNameNative (_ModuleID))

When I try to run an example I get "Unable to load DLL 'LLVM-3.0.dll'. The specified module could not be found" exception.

I don't see where I'm supposed to get this LLVM-3.0.dll file or how I create it from the .a files that were built.

Cheers,
Jon.

"Jon Harrop" <jon@ffconsultancy.com> writes:

I followed both those instructions and (separately) the instructions
from the LLVM "Getting Started with the LLVM System using Microsoft
Visual Studio" page but neither seems to have produced the file I
need.

The VS build does not create dll's, unless someone implemented the
feature recently.

[snip]

I don't see where I'm supposed to get this LLVM-3.0.dll file or how I
create it from the .a files that were built.

IIRC Takumi implemented the creation of LLVM-*.dll for MinGW on the
configure&make build.

The method for creating the big dll on MinGW consists on extracting the
obj files from the static libraries, and then recombing them on a single
dll. I posted the sequence of commands on this ml years ago.