www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Linking with LLVM on Windows

I'm trying to link with a recent build of LLVM on windows. I 
built LLVM 3.1 as a DLL using mingw, converted DLL to LIB with 
implib, however the link fails with the error

C:\cal\D\dmd2\windows\bin\..\lib\snn.lib(printf)  Offset FFAB9H 
Record Type 00C3
  Error 1: Previous Definition Different : _fprintf

Has anyone tried linking with LLVM under Windows? I can't seem to 
find where LLVM redefines or pulls-in fprintf, although I can see 
where it is in the LIB.

Appreciate any suggestions.
Sep 04 2012