summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-11-01 01:02:10 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-11-01 01:05:33 +0300
commitaeadf7607d36c5570f168a226d34c1fd48bd6a29 (patch)
tree52c59f664af6e848180e1a9da6859f4847826c0c
parentaee704ebe19cb9baeecdda90b7f8f7551d59aa3b (diff)
downloadmicropython-aeadf7607d36c5570f168a226d34c1fd48bd6a29.tar.gz
micropython-aeadf7607d36c5570f168a226d34c1fd48bd6a29.zip
windows/README: Deprecate mingw32, suggest using mingw64.
Ubuntu's mingw32 has gcc 4.2.1, which is rather old and has incorrect non-initialized variable analysis which produces warnings, which per MicroPython default settings get turned into errors.
-rw-r--r--windows/README7
1 files changed, 7 insertions, 0 deletions
diff --git a/windows/README b/windows/README
index 2f1f20b9c8..302c713770 100644
--- a/windows/README
+++ b/windows/README
@@ -6,6 +6,13 @@ consider to contribute.
To cross-compile under Debian/Ubuntu Linux system:
+sudo apt-get install gcc-mingw-w64
+make CROSS_COMPILE=i686-w64-mingw32-
+
+If for some reason mingw64 crosscompiler is not available, you can try
+mingw32 instead, but it come with really old gcc which may produce some
+spurious errors (you may need to disable -Werror):
+
sudo apt-get install mingw32 mingw32-binutils mingw32-runtime
make CROSS_COMPILE=i586-mingw32msvc-