I build openocd on windows using cygwin. Steps followed:
But when I tried to use this openocd on another system, it asked for a few cygwin dlls. Is there any way to escape from requiring cygwin dlls when using openocd.
I build openocd on windows using cygwin. Steps followed:
But when I tried to use this openocd on another system, it asked for a few cygwin dlls. Is there any way to escape from requiring cygwin dlls when using openocd.
Build using MinGW/msys2 rather than Cygwin. MinGW builds native Windows applications with GCC rather than emulating a Linux runtime environment.
The method is described here: http://www.playembedded.org/blog/en/2015/10/11/building-openocd-under-windows-using-msys2/
You can also get prebuilt Windows binaries from http://www.freddiechopin.info/en/download/category/4-openocd, which is far simpler.
If anyone is still facing the same issue, I have updated the openocd.git with a github action that automatically generates Windows binary archives for releases and all master commits.