Linking with LLVM on Windows

cal callumenator at gmail.com
Tue Sep 4 22:56:26 PDT 2012


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.



More information about the Digitalmars-d-learn mailing list