Skip to content

Installation on Windows

xn0px90 edited this page Apr 28, 2016 · 5 revisions

Please use the following steps to build and install Delve on Windows.

If you have a unix-y shell on Windows (MSYS2, CYGWIN or other), follow the Linux installation directions.

From a standard Windows cmd shell, use the following steps:

1) Install MinGW

Install MinGW-W64 to get a GCC toolchain which is required to build with CGO on Windows.

You should select:

  • Version: Latest available (5.3.0 at time of writing)
  • Architecture: x86_64
  • Threads: posix (shouldn't actually matter)
  • Exception: seh (shouldn't actually matter)
  • Build revision: Latest available (0 at time of writing)

2) Make and install the dlv binary

$ mingw32-make install

Note: If you are using Go 1.5 you must set GO15VENDOREXPERIMENT=1 before continuing. The GO15VENDOREXPERIMENT env var simply opts into the Go 1.5 Vendor Experiment.

Clone this wiki locally