Skip to content

Commit

Permalink
Improvements to Windows install instructions (#15099)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayman22201 authored Jul 28, 2020
1 parent e6f0d4a commit d60fae5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ Next, to build from source you will need:
* Either ``git`` or ``wget`` to download the needed source repositories.
* The ``build-essential`` package when using ``gcc`` on Ubuntu (and likely
other distros as well).
* On Windows MinGW 4.3.0 (GCC 8.10) is the minimum recommended compiler.
* Nim hosts a known working MinGW distribution:
* [MinGW32.7z](https://nim-lang.org/download/mingw32.7z)
* [MinGW64.7z](https://nim-lang.org/download/mingw64.7z)

**Windows Note: Cygwin and similar posix runtime environments are not supported.**

Then, if you are on a \*nix system or Windows, the following steps should compile
Nim from source using ``gcc``, ``git`` and the ``koch`` build tool.
Expand All @@ -75,6 +81,9 @@ Next run the appropriate build shell script for your platform:
* `build_all.sh` (Linux, Mac)
* `build_all.bat` (Windows)

Windows requires a number of other dependencies that you may need to install including
PCRE and OpenSSL. Nim hosts a zip package containing known working versions of the
required DLLs [here](https://nim-lang.org/download/dlls.zip).

Finally, once you have finished the build steps (on Windows, Mac or Linux) you
should add the ``bin`` directory to your PATH.
Expand Down

0 comments on commit d60fae5

Please sign in to comment.