diff options
author | Lars Bergstrom <lars@lars.com> | 2016-07-24 09:23:38 -0500 |
---|---|---|
committer | Lars Bergstrom <lars@lars.com> | 2016-07-24 09:23:38 -0500 |
commit | 94c3431a4c6a99efb2cc3ed5f5216e73cf31f4fa (patch) | |
tree | 86cce26f57120793600aca9eb9886de013a9dd89 | |
parent | 81a1e28da140743818651b7c77c7bfc3b8c54d85 (diff) | |
download | servo-94c3431a4c6a99efb2cc3ed5f5216e73cf31f4fa.tar.gz servo-94c3431a4c6a99efb2cc3ed5f5216e73cf31f4fa.zip |
Document Windows installation hacks
-rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md index 00d8a650d71..0af2c5032a9 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,9 @@ Download Python for Windows [here](https://www.python.org/downloads/release/pyth required for the SpiderMonkey build on Windows. Install MSYS2 from [here](https://msys2.github.io/). After you have done so, open an MSYS shell -window and update the core libraries and install new packages: +window and update the core libraries and install new packages. The extra step at the end is to +downgrate GCC to 5.4, as the GCC6 versions in mingw currently fail to compile some of our +dependencies. We are upgrading to a gcc-free build on Windows as soon as possible: ```sh pacman -Su @@ -88,6 +90,11 @@ pacman -Sy git mingw-w64-x86_64-toolchain mingw-w64-x86_64-freetype \ mingw-w64-x86_64-icu mingw-w64-x86_64-nspr mingw-w64-x86_64-ca-certificates \ mingw-w64-x86_64-expat mingw-w64-x86_64-cmake tar diffutils patch \ patchutils make python2-setuptools +export GCC_URL=http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc +export GCC_EXT=5.4.0-1-any.pkg.tar.xz +pacman -U --noconfirm $GCC_URL-$GCC_EXT $GCC_URL-ada-$GCC_EXT \ + $GCC_URL-fortran-$GCC_EXT $GCC_URL-libgfortran-$GCC_EXT $GCC_URL-libs-$GCC_EXT \ + $GCC_URL-objc-$GCC_EXT easy_install-2.7 pip virtualenv ``` |