diff options
Diffstat (limited to 'site/versions/master/docs/windows.md')
-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 ========================= |