Follow instructions here: mxe
git clone https://github.com/ntfreak/openocd.git cd openocd
flashid.patch (Used on USBSniffer and PCIeScreamer)
git apply flashid.patch
qe_command.patch (Not necessary, this bit should have been set already during USBSniffer board production)
git apply qe_command.patch
./bootstrap ./configure --prefix= --host=i686-w64-mingw32.static --enable-ftdi make -j pkgdatadir=
make pkgdatadir= DESTDIR=/tmp/openocd install cd /tmp ls -l openocd/ total 0 drwxr-x--- 2 po po 60 Jan 16 13:57 bin drwxr-x--- 2 po po 60 Jan 16 13:57 OpenULINK drwxr-x--- 11 po po 300 Jan 16 13:57 scripts drwxr-x--- 4 po po 80 Jan 16 13:57 share zip -r openocd.zip openocd/