On Thu, Apr 18, 2013 at 2:09 AM, Jahn <[email protected]> wrote: > Xiaofan, > Thank you for your reply. > I wanted to compile openOCD on my laptop, that uses Windows. > So I compiled it ,on my laptop , openOCD using Cygwin. > Can you please let me know what is adwantage of MinGW?
You can still use Cygwin if you like. The main advantage of MinGW is that the resultant binary will not be dependent on Cygwin dll. The other thing is that MSys is faster than Cygwin shell. But both MSys and Cygwin shell are much slower than Linux shell (assuming all use Bash). In fact, you can still use Cygwin to generate MinGW binary if you install the cross compiler under Cygwin. Eg: MinGW.org toolchain (32bit only) http://cygwin.com/cgi-bin2/package-grep.cgi?grep=mingw-gcc MinGW-w64 (32bit and 64bit). http://cygwin.com/cgi-bin2/package-grep.cgi?grep=mingw-w64 Personally I like to use MinGW.org toolchains and MinGW/MSys from the official MinGW.org distribution. The MinGW.org toolchain under Cygwin usually lags behind. The MinGW.org toolchain can even lag further or not that usable under some Linux distros. Many Linux distros seem to use MinGW-w64 toolchain more often. If you want to build for 64bit Windows binary, then you have to use MinGW-w64. But you do not gain anything to build for 64bit binary if you are using libusbx/libftdi/openocd. -- Xiaofan ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
