gdb: cleanup gdb target description support
[openocd.git] / README.Windows
blob38f5ef14737ce5159b766d61225ea749ab386819
1 Building OpenOCD for Windows
2 ----------------------------
4 You can build OpenOCD for Windows natively with either MinGW/MSYS or
5 Cygwin. Alternatively, one can cross-compile it using MinGW on a *nix
6 host. See README for the generic instructions.
8 Native MinGW/MSYS compilation
9 -----------------------------
11 As MSYS doesn't come with pkg-config pre-installed, you need to add it
12 manually. The easiest way to do that is to download pkg-config-lite
13 from:
15   http://sourceforge.net/projects/pkgconfiglite/
17 Then simply unzip the archive to the root directory of your MinGW
18 installation.
20 USB adapters
21 ------------
23 You usually need to have WinUSB.sys (or libusbK.sys) driver installed
24 for a USB-based adapter. Some vendor software (e.g. for ST-LINKv2)
25 does it on its own. For the other cases the easiest way to assign
26 WinUSB to a device is to use the Zadig installer:
28   http://sourceforge.net/projects/libwdi/files/zadig/
30 For the old drivers that use libusb-0.1 API you might need to link
31 against libusb-win32 headers and install the corresponding driver with
32 Zadig.