diff options
author | Evan Martin <martine@danga.com> | 2011-12-20 19:01:04 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-20 19:01:04 (GMT) |
commit | 8ecbf8400a9e5336d027640463068331a435db32 (patch) | |
tree | de221312c5879a316d8c0e3efbadf0e1e189fa10 /HACKING | |
parent | 7a6eb9c5345fe30515d0a25c3ee105ae34b4c438 (diff) | |
download | Ninja-8ecbf8400a9e5336d027640463068331a435db32.zip Ninja-8ecbf8400a9e5336d027640463068331a435db32.tar.gz Ninja-8ecbf8400a9e5336d027640463068331a435db32.tar.bz2 |
fix mingw cross-compile
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -45,14 +45,14 @@ Generating the manual: Windows development on Linux (this is kind of hacky right now): - sudo apt-get install gcc-mingw32 wine - export CC=i586-mingw32msvc-cc CXX=i586-mingw32msvc-c++ AR=i586-mingw32msvc-ar -- ./configure.py --platform=mingw +- ./configure.py --platform=mingw --host=linux - Build gtest: - unpack it into your source dir - ./configure - to work around missing _TlsAlloc I had to hack the libtool script to append -lmingw32 -lkernel32 at the *end* of the link line -- Build ninja: /path/to/linux/ninja ninja -- Run: ./ninja (implicitly runs through wine(!)) +- Build ninja: /path/to/linux/ninja +- Run: ./ninja.exe (implicitly runs through wine(!)) Windows development on Windows: - install mingw, msys, and python |