summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJake Shadle <jake.shadle@frostbite.com>2015-08-27 17:00:06 +0200
committerJake Shadle <jake.shadle@frostbite.com>2015-08-27 17:00:06 +0200
commit10d3873fb5669982577117882cf0c021d627eda3 (patch)
tree81b334c47a7e5d69f7c6a4c494b411334defbbf9 /README.md
parent40fd4d678706af0684cee1e95304352a6ca02837 (diff)
Update README.md
Encountered an issue going through the guide for installing the `mingw` toolchain on Windows with msys2, after some googling I found the [solution](https://github.com/Alexpux/MSYS2-packages/issues/163#issuecomment-73555971) and thought it would be good to update the README so people don't get frustrated. :)
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index 391ada0efef..59fc70494cb 100644
--- a/README.md
+++ b/README.md
@@ -72,6 +72,22 @@ Read ["Installing Rust"] from [The Book].
$ pacman -S base-devel
```
+ > ***Note:*** If the package install fails during retrieval, you may need to update
+ > `pacman`'s mirrors before attempting to install the `mingw64` toolchain. An example
+ > of the symptom of this problem would be...
+
+ > ```sh
+ > error: failed retrieving file 'mingw-w64-x86_64-libiconv-1.14-4-any.pkg.tar.xz'
+ > from downloads.sourceforge.net : The requested URL returned error: 404
+ > ```
+
+ > To update the mirrors for pacman, simply run the following commands in your
+ > MSYS2 terminal and retry installing the `mingw64` toolchain.
+
+ > ```sh
+ > $ pacman -Sy&&pacman -S pacman-mirrors
+ > ```
+
3. Run `mingw32_shell.bat` or `mingw64_shell.bat` from wherever you installed
MSYS2 (i.e. `C:\msys`), depending on whether you want 32-bit or 64-bit Rust.