diff options
author | Peter Mounce <petermounce@improbable.io> | 2016-10-19 16:16:44 +0000 |
---|---|---|
committer | Philipp Wollermann <philwo@google.com> | 2016-10-19 19:20:58 +0000 |
commit | d0a08e5c64b7ce9f5d4c6a83c8398bb42b26cdb2 (patch) | |
tree | 92c08518088429aabdac083a8b1d0be88ce62fa3 /site/versions | |
parent | fa308049e28d6cf78c7913026208e4b94177dfaa (diff) |
Mention PATH niggles in more detail
Closes #1938.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/1938
MOS_MIGRATED_REVID=136603317
Diffstat (limited to 'site/versions')
-rw-r--r-- | site/versions/master/docs/windows.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/site/versions/master/docs/windows.md b/site/versions/master/docs/windows.md index fb273b7e0b..140d35f5ea 100644 --- a/site/versions/master/docs/windows.md +++ b/site/versions/master/docs/windows.md @@ -38,6 +38,14 @@ If you run outside of `bash`, ensure that ``msys-2.0.dll`` is in your ``PATH`` (if you install msys2 to ``c:\tools\msys64``, just add ``c:\tools\msys64\usr\bin`` to ``PATH``). +### Issues/Troubleshooting + +If you have another tool that vendors msys2 (such as msysgit), then ``c:\tools\msys64\usr\bin`` must appear in your ``PATH`` *before* entries for those tools. + +Similarly, if you have [bash on Ubuntu on Windows](https://msdn.microsoft.com/en-gb/commandline/wsl/about) installed, you should make sure ``c:\tools\msys64\usr\bin`` appears in ``PATH`` *before* ``c:\windows\system32``, because otherwise Windows' ``bash.exe`` is used before msys2's. + +Use `where msys-2.0.dll` to ensure your ``PATH`` is set up correctly. + Building Bazel on Windows ========================= |