summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-15 23:29:18 +0800
committerruki <[email protected]>2020-02-15 23:29:18 +0800
commit48921af4ec54a85e6951a7171cf82979ab2a09e7 (patch)
tree39aa8504f770b2824107bfdac8b89125548c7017 /core/src
parentf7f0c37a44d58412cf0d1a41c4864696084f4e1d (diff)
check msys,cygwin/gcc compiler
Diffstat (limited to 'core/src')
m---------core/src/tbox/tbox0
-rw-r--r--core/src/xmake/prefix/config.h10
2 files changed, 10 insertions, 0 deletions
diff --git a/core/src/tbox/tbox b/core/src/tbox/tbox
-Subproject 66ecedaa2ae8b7c3d40bc8b0de47a889c4bc655
+Subproject 37ba0093d152b0d892925aee0e0d7b2ea66360c
diff --git a/core/src/xmake/prefix/config.h b/core/src/xmake/prefix/config.h
index 157efe6b5..b6bd108a8 100644
--- a/core/src/xmake/prefix/config.h
+++ b/core/src/xmake/prefix/config.h
@@ -47,6 +47,16 @@
# define __xm_debug__
#endif
+/* unix/gcc on msys/cygwin? do not support it now!
+ *
+ * on msys:
+ * pacman -S mingw-w64-i686-gcc
+ * pacman -S mingw-w64-x86_64-gcc
+ */
+#if defined(TB_CONFIG_OS_WINDOWS) && defined(TB_COMPILER_LIKE_UNIX)
+# error "do not support gcc on msys/cygwin, please uses mingw-w64-[i686|x86_64]-gcc"
+#endif
+
#endif