From dd0b14f7c9022d0fa69ed83d3dafd84b92b783b0 Mon Sep 17 00:00:00 2001 From: ashes999 Date: Wed, 20 Mar 2013 20:34:35 -0700 Subject: [PATCH] Added Cygwin build instructions --- Supported-Platforms.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Supported-Platforms.md b/Supported-Platforms.md index bfc4f82..22bba2a 100644 --- a/Supported-Platforms.md +++ b/Supported-Platforms.md @@ -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 | \ No newline at end of file +|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`.