README.Windows: MinGW-w64 is known to work for building, regular MinGW is quirky38/1638/3
authorPaul Fertser <fercerpav@gmail.com>
Thu, 19 Sep 2013 15:21:35 +0000 (19 19:21 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 25 Sep 2013 13:52:13 +0000 (25 13:52 +0000)
The regular MinGW doesn't work properly because it doesn't try to
provide C99 compatibility currently.

Change-Id: I27c1b9e1496a8c32032fab08a29cbe1124316edd
Reported-by: Tomáš Voda <Voda.Tomas@seznam.cz>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1638
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
README.Windows

index 38f5ef1..011ba54 100644 (file)
@@ -1,11 +1,13 @@
 Building OpenOCD for Windows
 ----------------------------
 
-You can build OpenOCD for Windows natively with either MinGW/MSYS or
-Cygwin. Alternatively, one can cross-compile it using MinGW on a *nix
+You can build OpenOCD for Windows natively with either MinGW-w64/MSYS
+or Cygwin (plain MinGW might work with --disable-werror but is not
+recommended as it doesn't provide enough C99 compatibility).
+Alternatively, one can cross-compile it using MinGW-w64 on a *nix
 host. See README for the generic instructions.
 
-Native MinGW/MSYS compilation
+Native MinGW-w64/MSYS compilation
 -----------------------------
 
 As MSYS doesn't come with pkg-config pre-installed, you need to add it
@@ -14,7 +16,7 @@ from:
 
   http://sourceforge.net/projects/pkgconfiglite/
 
-Then simply unzip the archive to the root directory of your MinGW
+Then simply unzip the archive to the root directory of your MinGW-w64
 installation.
 
 USB adapters