[LLVMdev] Building LLVM as a shared library on MinGw (Makefiles)

Óscar Fuentes ofv at wanadoo.es
Fri Aug 1 15:25:42 PDT 2014


Reid Kleckner <rnk at google.com> writes:

> I didn't think it was possible to build an LLVM DLL on Windows, but maybe
> I'm wrong.

It is fairly easy with MinGW because gcc/ld can auto-(export/import) the
symbols. It is not as robust as explicitly declaring the visible symbols
(as VS requires) but it used to work well enough for creating an usable
monolithic LLVM.dll.




More information about the llvm-dev mailing list