Added Cygwin build instructions

ashes999
2013-03-20 20:34:35 -07:00
parent 7c8cf56063
commit dd0b14f7c9
+10 -1
@@ -15,4 +15,13 @@ Currently, mruby compiles and runs under the platforms reported hereafter.
|unknown |Win7 |Unknown |MinGW64 |YES |
|3e1dd77b |OpenSUSE 12.2 |Intel i5-2410|GCC 4.7 |YES |
|3e1dd77b |OpenSUSE 12.2 |Intel i5-2410|Solaris Studio 12.3|NO |
|75dd4a5a |Win XP / Cygwin |Q6600 |GCC + Android NDK |YES |
|75dd4a5a |Win XP / Cygwin |Q6600 |GCC + Android NDK |YES |
## Building on Cygwin ##
Building on Cygwin is not well supported, because of the way paths are treated (slash vs. backslash, /cygdrive/c/ vs. C:\, etc.) However, some users successfully built under Cygwin.
The key is to set up the NDK environment like so:
```export ANDROID_STANDALONE_TOOLCHAIN=\`cygpath -w /tmp/android-14-toolchain\```
After this, it should build if you run `make`.