On 6 July 2011 15:41, Xiaofan Chen <[email protected]> wrote: > On Wed, Jul 6, 2011 at 10:38 PM, Xiaofan Chen <[email protected]> wrote: >> On Wed, Jul 6, 2011 at 10:02 PM, Eric Wetzel <[email protected]> wrote: >>> 3. I copied the installed LibUSB-Win32-0.1 usb.h and libusb.a to >>> include and lib, respectively, under /usr/i686-pc-mingw32/sys-root. >>> 4. The configure options I used were: --enable-maintainer-mode >>> --enable-dummy --enable-jlink --enable-ft2232_ftd2xx >>> --with-ftd2xx-win32-zipdir=$HOME/local/src/ftd2xx --prefix=$HOME/local >>> CC="i686-pc-mingw32-gcc" >>> note 4a: I'd rather be using libftdi, but I didn't want to fight with >>> it in Windows >> >> You can use libftdi. You can use Freddie's pre-built binary. > http://www.freddiechopin.info/index.php/pl/download/category/10-openocd-dev > >> Or if you prefer to build by yourself, I provide the libusbftdi-0.19 >> binaries for MinGW here. >> http://code.google.com/p/picusb/downloads/list > > Reference: it is talking about cross under Linux. But you can > do similar thing under Cygwin (much slower than Linux, say > 10 times slower). > https://lists.berlios.de/pipermail/openocd-development/2011-July/019923.html > >
just to help a little under cygwin, they have only just moved onto the mingw cross compiler so make sure you update your cygwin tools. ./configure --enable-maintainer-mode --build=i686-pc-cygwin --host=i686-pc-mingw32 --enable-jlink Cheers Spen _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
