Skip to content

Commit

Permalink
Improve README.md for Windows users
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed Jun 18, 2016
1 parent f06f205 commit 6bca434
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions README.md
Expand Up @@ -27,9 +27,11 @@ Installation

### From a pre-built package

Some Linux and OS X package managers include recent versions of LDC, so
manually installing it might not be necessary. For several platforms,
there are also stand-alone binary builds available at the
##### Linux and OS X

Some package managers include recent versions of LDC, so manually
installing it might not be necessary. For several platforms, there
are also stand-alone binary builds available at the
[GitHub release page](https://github.com/ldc-developers/ldc/releases).

| Distribution | Command |
Expand All @@ -41,12 +43,28 @@ there are also stand-alone binary builds available at the
| HomeBrew | `brew install ldc` |
| Ubuntu | `apt-get install ldc` |

##### Windows

The latest official releases can be downloaded from the
[GitHub release page](https://github.com/ldc-developers/ldc/releases).

For bleeding-edge users, we also provide the
[latest successful continuous integration builds](https://github.com/ldc-developers/ldc/releases/tag/LDC-Win64-master).

LDC for Windows relies on the Microsoft linker. So you'll either need
[Visual Studio](https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx)
(2015 is greatly encouraged; 2013 works too if you build LDC yourself)
with Visual C++, or the stand-alone
[Visual C++ Build Tools](http://landinghub.visualstudio.com/visual-cpp-build-tools).
For the latter to work, you'll need to create the environment variable `LDC_VSDIR`
and set it to something like `C:\Program Files (x86)\Microsoft Visual Studio 14.0\`.

### Building from source

In-depth material on building and installing LDC and the standard
libraries, including experimental instructions for running LDC on
Windows, is available on the project wiki at
http://wiki.dlang.org/Building_LDC_from_source.
libraries is available on the project wiki for
[Linux and OS X](http://wiki.dlang.org/Building_LDC_from_source) and
[Windows](http://wiki.dlang.org/Building_and_hacking_LDC_on_Windows_using_MSVC).

If you have a working C++ build environment, CMake, a current LLVM (>= 3.5),
and [libconfig](http://hyperrealm.com/libconfig/libconfig.html) available
Expand Down

0 comments on commit 6bca434

Please sign in to comment.