summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-08-05 22:24:37 (GMT)
committerNico Weber <nicolasweber@gmx.de>2014-08-05 22:24:37 (GMT)
commit1d9184c3adbfabacb844b0a715a64b08998c204f (patch)
treeeadd30a7169f89637e60d0de031815d517255e53
parent6def0330d1d5de9b20ca745bd11da091b610f6fb (diff)
parentd2f600b4f56b86aa28f0546c67970460dd1e1a2e (diff)
downloadNinja-1d9184c3adbfabacb844b0a715a64b08998c204f.zip
Ninja-1d9184c3adbfabacb844b0a715a64b08998c204f.tar.gz
Ninja-1d9184c3adbfabacb844b0a715a64b08998c204f.tar.bz2
Merge pull request #803 from martine/arch
amend HACKING.md with instructions for Arch Linux
-rw-r--r--HACKING.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/HACKING.md b/HACKING.md
index 8e1696a..d94882b 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -167,6 +167,12 @@ Setup on Ubuntu Precise:
* `sudo apt-get install gcc-mingw-w64-i686 g++-mingw-w64-i686 wine`
* `export CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ AR=i686-w64-mingw32-ar`
+Setup on Arch:
+* Uncomment the `[multilib]` section of `/etc/pacman.conf` and `sudo pacman -Sy`.
+* `sudo pacman -S mingw-w64-gcc wine`
+* `export CC=x86_64-w64-mingw32-cc CXX=x86_64-w64-mingw32-c++ AR=x86_64-w64-mingw32-ar`
+* `export CFLAGS=-I/usr/x86_64-w64-mingw32/include`
+
Then run:
* `./configure.py --platform=mingw --host=linux`
* Build `ninja.exe` using a Linux ninja binary: `/path/to/linux/ninja`