mirror of
https://github.com/servo/servo.git
synced 2025-06-10 09:33:13 +00:00
Windows instructions
This commit is contained in:
parent
4755cc5c62
commit
e92d130f32
1 changed files with 28 additions and 0 deletions
28
README.md
28
README.md
|
@ -62,6 +62,34 @@ sudo emerge net-misc/curl media-libs/freeglut \
|
|||
x11-libs/libXmu media-libs/glu x11-base/xorg-server
|
||||
```
|
||||
|
||||
On Windows:
|
||||
|
||||
Download Python for Windows [here](https://www.python.org/downloads/release/python-2711/). This is
|
||||
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:
|
||||
|
||||
```sh
|
||||
update-core
|
||||
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
|
||||
easy_install-2.7 pip virtualenv
|
||||
```
|
||||
|
||||
Open a new MSYS shell window as Administrator and remove the Python binaries (they
|
||||
are not compatible with our `mach` driver script yet, unfortunately):
|
||||
|
||||
```sh
|
||||
cd /mingw64/bin
|
||||
mv python2.exe python2-mingw64.exe
|
||||
mv python2.7.exe python2.7-mingw64.exe
|
||||
```
|
||||
|
||||
Now, open a MINGW64 (not MSYS!) shell window, and you should be able to build servo as usual!
|
||||
|
||||
Cross-compilation for Android:
|
||||
|
||||
Pre-installed Android tools are needed. See wiki for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue