X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=README.Windows;h=61a712aba7f119f9635bf6f90b8fb62c8e8111df;hp=38f5ef14737ce5159b766d61225ea749ab386819;hb=005d85d56cfed72326f73e93eae105840b21645d;hpb=5aafcec96e1b5bd10866cb721db075027003bce6 diff --git a/README.Windows b/README.Windows index 38f5ef1473..61a712aba7 100644 --- a/README.Windows +++ b/README.Windows @@ -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 @@ -23,9 +25,9 @@ USB adapters You usually need to have WinUSB.sys (or libusbK.sys) driver installed for a USB-based adapter. Some vendor software (e.g. for ST-LINKv2) does it on its own. For the other cases the easiest way to assign -WinUSB to a device is to use the Zadig installer: +WinUSB to a device is to use the latest Zadig installer: - http://sourceforge.net/projects/libwdi/files/zadig/ + http://zadig.akeo.ie For the old drivers that use libusb-0.1 API you might need to link against libusb-win32 headers and install the corresponding driver with