Difference between revisions of "Latest pre-built LDC for Win64"

From D Wiki
Jump to: navigation, search
m (The CI build is portable now.)
Line 4: Line 4:
 
* Extract it somewhere.
 
* Extract it somewhere.
 
* LDC is built with <tt>RelWithDebInfo</tt> CMake configuration, assertions enabled, with a pre-built LLVM 3.7 (<tt>Release</tt> CMake configuration, LLVM assertions enabled) and Visual Studio 2015. It's linked dynamically against the MS C runtime, so it requires the [https://www.microsoft.com/en-us/download/details.aspx?id=48145 2015 runtime].
 
* LDC is built with <tt>RelWithDebInfo</tt> CMake configuration, assertions enabled, with a pre-built LLVM 3.7 (<tt>Release</tt> CMake configuration, LLVM assertions enabled) and Visual Studio 2015. It's linked dynamically against the MS C runtime, so it requires the [https://www.microsoft.com/en-us/download/details.aspx?id=48145 2015 runtime].
* If you want to use it in combination with Visual Studio 2013, you'll have to remove the default switch <tt>-Llegacy_stdio_definitions.lib</tt> in the configuration file <tt>etc\ldc2.conf</tt>. But apparently there's still a zlib issue in the C parts of the runtimes preventing successful linking with the VS 2013 linker. So currently, you'll need to build LDC yourself if you want to use it with VS 2013.
+
* If you want to use it in combination with Visual Studio 2013, you'll need to [http://wiki.dlang.org/Building_and_hacking_LDC_on_Windows_using_MSVC build LDC yourself]. Apparently there's still a zlib issue in the C parts of the stdlibs preventing successful linking with the VS 2013 libs.
  
 
----
 
----

Revision as of 12:56, 5 January 2016

As of August 2015, LDC has got support for Windows CI (Continuous Integration) via AppVeyor. As convenient side effect, the debug job publishes the LDC installation directory (a 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 .7z artifact at the bottom.
  • Extract it somewhere.
  • LDC is built with RelWithDebInfo CMake configuration, assertions enabled, with a pre-built LLVM 3.7 (Release CMake configuration, LLVM assertions enabled) and Visual Studio 2015. It's linked dynamically against the MS C runtime, so it requires the 2015 runtime.
  • If you want to use it in combination with Visual Studio 2013, you'll need to build LDC yourself. Apparently there's still a zlib issue in the C parts of the stdlibs preventing successful linking with the VS 2013 libs.

Windows MSVC