On Mon, Jan 2, 2017 at 2:33 PM, Xiaofan Chen <[email protected]> wrote: > Today I tried to use the libusb usbdk backend (1.021 release build using > MSYS2 32bit) and it seems to work. You will notice the driver switching > sound when you run openocd. > > For the test, I downloaded the OpenOCD 0.10.0-rc1 Windows binary from > Freddie and replace libusb-1.0.dll with the one I built using MSYS2 (with > --enable-usbdk option). > ... > 4) Now replace libusb-1.0.dll in Freddie's binary with the newly > build libusb-1.0.dll file, I have to copy MSYS2's libgcc_s_dw2-1.dll > as well since MSYS2 is using a different compiler toolchain than > Freddie's cross-compiler.
This is just a quick and dirty test, probably it is not a good idea to mix dlls built with different compiler toolchain. -- Xiaofan ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
