Skip to content

Commit aeadf76

Browse files
committed
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.
1 parent aee704e commit aeadf76

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

windows/README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ consider to contribute.
66

77
To cross-compile under Debian/Ubuntu Linux system:
88

9+
sudo apt-get install gcc-mingw-w64
10+
make CROSS_COMPILE=i686-w64-mingw32-
11+
12+
If for some reason mingw64 crosscompiler is not available, you can try
13+
mingw32 instead, but it come with really old gcc which may produce some
14+
spurious errors (you may need to disable -Werror):
15+
916
sudo apt-get install mingw32 mingw32-binutils mingw32-runtime
1017
make CROSS_COMPILE=i586-mingw32msvc-
1118

0 commit comments

Comments
 (0)