> I tried that and it seems IS_CYGWIN is not set correctly on cygwin. Any idea ? > > Michael > > Michael,
Thanks for trying this. How do you build openocd on windows, does it require CYGWIN or is there another way? Using CMake on Windows, a reasonable goal would be to ween ourselves of the requirement for Cygwin. However to achieve this, there are probably runtime issues in the code and also build issues to deal with. The first may require source code modifications. I have no experience with OpenOCD on windows. And I am allergic to Windows, so there will need to be a "CMake on Windows" champion to step up and take this bull by the horns. -------------------------------------- You can defer that goal and get yourself running on Cygwin for now. I would look at these links and modify the src/CMakeLists.txt file accordingly: http://www.cmake.org/cmake/help/cmake2.6docs.html#section_Generators At line 299 there is the if(CYGWIN) test. I believe by using the proper command line option to cmake, namely the -G option, you essentially can tell Cmake that you are on cygwin. Then it sets the CYGWIN variable, which in turn sets our IS_CYGWIN at line 300. Try poking around the cmake mailing list. This question has been asked and answered I'm sure. Dick _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development