Latest LDC binaries for Windows

From D Wiki
Jump to: navigation, search

As of August 2015, LDC has got support for Windows CI (Continuous Integration) via AppVeyor. As convenient side effect, successful jobs publish the LDC installation directory (as compressed 7-Zip archive) as GitHub release artifact, downloadable for you guys and thus saving you the hassle of building LDC yourselves:

  • Head over to the GitHub release and download the latest x64/x86 .7z artifact at the bottom.
  • Extract it somewhere.
  • Use the executables bin\ldc2.exe and/or bin\ldmd2.exe.

LDC is built with RelWithDebInfo CMake configuration, assertions enabled, with a pre-built LLVM 3.9.1 (Release CMake configuration, LLVM assertions enabled) and Visual Studio 2015. It ships with debug infos (bin\ldc2.pdb).

For linking, you'll need MS Visual C++ 2015, either by installing Visual Studio or the stand-alone Visual C++ Build Tools. The LDC executables are linked dynamically against the MS Visual C++ runtime, so at least an installed 2015 runtime is required.